y_petri 2.1.45 → 2.1.46
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/y_petri/simulation/timed.rb +1 -1
- data/lib/y_petri/simulation.rb +1 -1
- data/lib/y_petri/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc7af28887341704a71e56203783fb4bddf63620
|
4
|
+
data.tar.gz: d54f85e5195a01293b15cdeed75d6bf0a61da35c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ecc3db4760965a35f227361883969c8ed2718c24c257d2aade5edbbe2191c76bafc3f7f28a467937f0aa4d7a79b7246293f38d280de13a2ed8e58ce25275852
|
7
|
+
data.tar.gz: bcfa5add5ff22907980903ae337900976448841d3c4598288277964619be91fac81f707e9693a6f40879eff870331acae5337d8c737dff83906c6ab67b0d30be
|
@@ -54,7 +54,7 @@ module YPetri::Simulation::Timed
|
|
54
54
|
# and optional 2 named arguments (+:gap+ and +:precision), as in
|
55
55
|
# +#pretty_print_numeric_values+.
|
56
56
|
#
|
57
|
-
def pflux ids=nil, gap: 0, precision:
|
57
|
+
def pflux ids=nil, gap: 0, precision: 4
|
58
58
|
t_flux( ids ).pretty_print_numeric_values( gap: gap, precision: precision )
|
59
59
|
end
|
60
60
|
|
data/lib/y_petri/simulation.rb
CHANGED
@@ -109,7 +109,7 @@ class YPetri::Simulation
|
|
109
109
|
# and optional 2 named arguments (+:gap+ and +:precision+), as in
|
110
110
|
# +#pretty_print_numeric_values+.
|
111
111
|
#
|
112
|
-
def pfiring
|
112
|
+
def pfiring ids=nil, gap: 0, precision: 4
|
113
113
|
t_firing( ids ).pretty_print_numeric_values( gap: gap, precision: precision )
|
114
114
|
end
|
115
115
|
|
data/lib/y_petri/version.rb
CHANGED