Skip to content

Commit

Permalink
fix: add cnp.import_array() to avoid an error
Browse files Browse the repository at this point in the history
  • Loading branch information
william-silversmith committed Jun 17, 2024
1 parent eab0f49 commit 447bbb7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cc3d.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ from libcpp.map cimport map as mapcpp
from libcpp.unordered_map cimport unordered_map
from libcpp.utility cimport pair as cpp_pair
cimport numpy as cnp
cnp.import_array()

import numpy as np
import time

Expand Down

0 comments on commit 447bbb7

Please sign in to comment.