Skip to content

Commit 2420811

Browse files
authored
Make this more general
1 parent 8d3a477 commit 2420811

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/simulations.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function now(sim::Simulation)
4444
sim.time
4545
end
4646

47-
function now(ev::Event)
47+
function now(ev::AbstractEvent)
4848
return now(environment(ev))
4949
end
5050

0 commit comments

Comments
 (0)