Skip to content

Commit 778c9f9

Browse files
authored
Merge pull request #175 from StochasticTree/restricted-sweep-hotfix
Quick bug fix for the restricted sweep interface
2 parents 6998a6f + 25a246a commit 778c9f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stochtree/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def get_sweep_update_indices(self) -> Union[np.ndarray,None]:
392392
sweep_update_indices : np.ndarray or None
393393
Vector of (0-indexed) indices of trees to update in a sweep, or `None`
394394
"""
395-
return self.feature_types
395+
return self.sweep_update_indices
396396

397397
def get_variable_weights(self) -> np.ndarray:
398398
"""

0 commit comments

Comments
 (0)