We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4eb0eb commit 3229c05Copy full SHA for 3229c05
src/neurostatslib/base_class.py
@@ -347,9 +347,8 @@ def _check_and_convert_params(
347
raise ValueError("Params needs to be array-like of length two.")
348
349
try:
350
- params = jnp.asarray(params[0], dtype=data_type), jnp.asarray(
351
- params[1], dtype=data_type
352
- )
+ params = (jnp.asarray(params[0], dtype=data_type),
+ jnp.asarray(params[1], dtype=data_type))
353
except (ValueError, TypeError):
354
raise TypeError(
355
"Initial parameters must be array-like of array-like objects"
0 commit comments