Skip to content

Commit

Permalink
Update src/power_grid_model/validation/rules.py
Browse files Browse the repository at this point in the history
Co-authored-by: Jerry Guo <6221579+Jerry-Jinfeng-Guo@users.noreply.github.com>
Signed-off-by: Peter Salemink <66305765+petersalemink95@users.noreply.github.com>
  • Loading branch information
petersalemink95 and Jerry-Jinfeng-Guo authored Jun 13, 2024
1 parent 19e63c6 commit 60870ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/power_grid_model/validation/rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ def outside(val: np.ndarray, *ref: np.ndarray) -> np.ndarray:
return np.logical_or(np.less(val, np.minimum(*ref)), np.greater(val, np.maximum(*ref)))

return none_match_comparison(
data, component, field, outside, (ref_value_1, ref_value_2), NotBetweenOrAtError, default_value, default_value_2
data, component, field, outside, (ref_value_1, ref_value_2), NotBetweenOrAtError, default_value_1, default_value_2
)


Expand Down

0 comments on commit 60870ad

Please sign in to comment.