Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/fast_sbr_test' into simultaneous
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob-Stevens-Haas committed Oct 16, 2024
2 parents de77d21 + 4b15699 commit e4b9b95
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions pysindy/_typing.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import numpy as np
import numpy.typing as npt

# In python 3.12, use type statement
# https://docs.python.org/3/reference/simple_stmts.html#the-type-statement
NpFlt = np.floating[npt.NBitBase]
Float2D = np.ndarray[tuple[int, int], np.dtype[NpFlt]]
2 changes: 1 addition & 1 deletion test/test_optimizers/test_optimizers.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def data(request):
ElasticNet(fit_intercept=False),
DummyLinearModel(),
MIOSR(),
SBR(),
SBR(num_warmup=10, num_samples=10),
],
ids=lambda param: type(param),
)
Expand Down

0 comments on commit e4b9b95

Please sign in to comment.