Skip to content

Commit 5af9a89

Browse files
Fix shortcut assertion
1 parent d9a0266 commit 5af9a89

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/callback.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function build_callback(
1414
file,
1515
save_interval,
1616
)
17-
@assert shortcut 1
17+
@assert !(0 < shortcut < 1)
1818
if isnan(shr2)
1919
bound_interval = typemax(Int)
2020
end

0 commit comments

Comments
 (0)