Skip to content

Commit ae8aace

Browse files
TorkelEisaacsas
andauthored
Update src/Catalyst.jl
Co-authored-by: Sam Isaacson <[email protected]>
1 parent 11d30fe commit ae8aace

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Catalyst.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ import DataStructures: OrderedDict, OrderedSet
4343
import Parameters: @with_kw_noshow
4444

4545
# globals for the modulate
46-
const DEFAULT_t = ModelingToolkit.t_nounits
47-
const DEFAULT_IV_SYM = Symbol(ModelingToolkit.t_nounits)
4846
function default_t()
49-
return DEFAULT_t
47+
return ModelingToolkit.t_nounits
5048
end
49+
const DEFAULT_t = default_t()
50+
const DEFAULT_IV_SYM = Symbol(DEFAULT_t)
5151
export default_t
5252

5353
# as used in Catlab

0 commit comments

Comments
 (0)