George Ogden
George Ogden
There isn't an important reason for this - most people will end up installing the most recent version of pytest. I include it because I have done on previous projects.
Sorry, I see this has been fixed in a later version when the following modification is made to the code: ``` from typing import Optional import chex @chex.dataclass(kw_only=True) class Base:...
I managed to fix the issue by placing it in a directory without spaces, although this is only a temporary fix.
Hi @carlosgmartin Is there a plan to merge this? If so, I can rebase onto `main`
I've merged `main` and fixed the typing, linting and testing issues.
@koleckar one solution is to use the `get_nodes()` function: ```python n = len(list(problem.get_nodes())) adjacency_matrix = np.zeros((n, n), dtype=np.float64) for i, u in enumerate(problem.get_nodes()): for j, v in enumerate(problem.get_nodes()): if i...
Related to #4, this could be done via [checked add](https://doc.rust-lang.org/std/primitive.i32.html#method.checked_add) or [strict add](https://doc.rust-lang.org/std/primitive.i32.html#method.strict_add) when rust-lang/rust#118260 is resolved.
@t1m013y - I'm also interested in a feature like this. However, this is the minimal example that I have made. ```python def wrap[F: Callable](f: F) -> F: @functools.wraps(f) def inner(*args,...
> [@t1m013y](https://github.com/t1m013y) - I'm also interested in a feature like this. However, this is the minimal example that I have made. > > def wrap[F: Callable](f: F) -> F: >...
This still causes errors when saving and then loading the same problem, but will work when #22 is merged.