Skip to content

Commit 42b8ef7

Browse files
committed
fix serialization
1 parent 51a92c7 commit 42b8ef7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gridcounts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ impl GridCounts {
258258
self.counts = counts;
259259
self.shape = shape;
260260
self.resolution = resolution;
261-
self.set_n_threads(n_threads)?;
261+
self.set_n_threads(Some(n_threads))?;
262262

263263
Ok(())
264264
}

0 commit comments

Comments
 (0)