Skip to content

Commit 063224d

Browse files
Merge pull request #921 from visr/moshi-prep
Allow future Moshi style syntax to ease transition
2 parents 00c4070 + a15b0c0 commit 063224d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/clock.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ using Expronicon.ADT: variant_type, @adt, @match
1313
SolverStepClock
1414
end
1515

16+
(clock::TimeDomain)() = clock
17+
1618
Base.Broadcast.broadcastable(d::TimeDomain) = Ref(d)
1719

1820
const DiscriminatorType = typeof(variant_type(Continuous))

0 commit comments

Comments
 (0)