Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
giadarol committed Dec 6, 2024
1 parent 5f18006 commit 44a7a2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xdeps/optimize/jacobian.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def x(self):
@x.setter
def x(self, value):
# Limit check to be added
self._x = np.atleast_1d(np.float64(value))
self._x = np.array(np.atleast_1d(value), dtype=float)
self.mask_from_limits = np.ones(len(self._x), dtype=bool)

def step(self, n_steps=1):
Expand Down

0 comments on commit 44a7a2e

Please sign in to comment.