Skip to content

Commit 20e4de9

Browse files
author
Brad Carman
committed
Removing ifelse
1 parent f2b44fb commit 20e4de9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/stream_connectors.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ function StepSource(; P, name)
346346

347347
# equations ---------------------------
348348
eqs = [
349-
H.p ~ ModelingToolkit.ifelse(t < 0.1, 0, p_int),
349+
H.p ~ p_int * (t > 0.01),
350350
]
351351

352352
ODESystem(eqs, t, vars, pars; name, systems)

0 commit comments

Comments
 (0)