-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(csr): Set type of node_props to float64 (#235)
`dtype` of `node_props` passed from `csr_to_nbgraph()` to `NBGraph` was `float32`. This sets the type to explicitly be `np.float64` which matches the expectation of `csr_spec_float` passed to `numba.experimental.jitclass()`. The tests that were previously failing in [TopoStats](https://github.com/AFM-SPM/TopoStats/) (see #234 for details) now pass locally. 🙂 Closes #234 --------- Co-authored-by: Juan Nunez-Iglesias <[email protected]>
- Loading branch information
Showing
2 changed files
with
50 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters