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 a48a6ad commit e18daceCopy full SHA for e18dace
src/mrinufft/io/nsp.py
@@ -298,7 +298,7 @@ def write_trajectory(
298
initial_positions = np.zeros_like(initial_positions)
299
gradients = np.hstack([start_gradients, gradients])
300
Ns_to_skip_at_start = start_gradients.shape[1]
301
- if postgrad is not None:
+ if postgrad:
302
if version < 5.1:
303
raise ValueError(
304
"postgrad is only supported for version >= 5.1, "
0 commit comments