lib/y_petri/simulation/timed.rb in y_petri-2.1.45 vs lib/y_petri/simulation/timed.rb in y_petri-2.1.46
- old
+ new
@@ -52,10 +52,10 @@
# Pretty prints flux of the indicated TS transitions as hash with transition
# names as keys. Takes optional list of transition ids (first ordered arg.),
# and optional 2 named arguments (+:gap+ and +:precision), as in
# +#pretty_print_numeric_values+.
#
- def pflux ids=nil, gap: 0, precision: 3
+ def pflux ids=nil, gap: 0, precision: 4
t_flux( ids ).pretty_print_numeric_values( gap: gap, precision: precision )
end
# Reads the time range (initial_time .. target_time) of the simulation.
#