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 742ba57 commit c4b3f62Copy full SHA for c4b3f62
stochtree/forest.py
@@ -175,7 +175,7 @@ def combine_forests(
175
if not np.issubdtype(forest_inds.dtype, np.number):
176
raise ValueError("forest_inds must be an integer-convertible np.array")
177
forest_inds_sorted = np.sort(forest_inds)
178
- forest_inds_sorted = np.astype(forest_inds_sorted, int)
+ forest_inds_sorted = forest_inds_sorted.astype(int)
179
self.forest_container_cpp.CombineForests(forest_inds_sorted)
180
181
def add_to_forest(
0 commit comments