Skip to content

Commit e18dace

Browse files
chaithyagrDaval-G
andauthored
Update src/mrinufft/io/nsp.py
Co-authored-by: Guillaume Daval-Frérot <[email protected]>
1 parent a48a6ad commit e18dace

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mrinufft/io/nsp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ def write_trajectory(
298298
initial_positions = np.zeros_like(initial_positions)
299299
gradients = np.hstack([start_gradients, gradients])
300300
Ns_to_skip_at_start = start_gradients.shape[1]
301-
if postgrad is not None:
301+
if postgrad:
302302
if version < 5.1:
303303
raise ValueError(
304304
"postgrad is only supported for version >= 5.1, "

0 commit comments

Comments
 (0)