Skip to content

Commit

Permalink
Fix int in resolution test
Browse files Browse the repository at this point in the history
  • Loading branch information
f0uriest committed Apr 4, 2024
1 parent 763898b commit 56a7c4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_objective_funs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1874,7 +1874,7 @@ def test_compute_scalar_resolution_coils(self, objective):
f = np.zeros_like(self.res_array, dtype=float)
for i, res in enumerate(self.res_array):
obj = ObjectiveFunction(
objective(coilset, grid=LinearGrid(N=5 + 3 * res)), use_jit=False
objective(coilset, grid=LinearGrid(N=int(5 + 3 * res))), use_jit=False
)
obj.build(verbose=0)
f[i] = obj.compute_scalar(obj.x())
Expand Down

0 comments on commit 56a7c4c

Please sign in to comment.