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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fa9d7c1831b2aa0a9131a8ca20291215753ba748
4
- data.tar.gz: 76818d0b32a6023975fca7f430944dc8c60896e8
3
+ metadata.gz: bc7af28887341704a71e56203783fb4bddf63620
4
+ data.tar.gz: d54f85e5195a01293b15cdeed75d6bf0a61da35c
5
5
  SHA512:
6
- metadata.gz: 4890b6da29a0367938da297fdfa60a50ad07d287784c26ed25a179a70d1c18f96abb9ccc2baabae54a4e88580838f465c9201e6712c4a1a46f9d94399a31b6ef
7
- data.tar.gz: 7aca2c9a08198e1e2c82fb32d766f523fdbcbab1c3b0117cfdc31f6a85633ee634d069f17ec1f668b4dbefb508910e30b4247ae77a333ebfd32b6aab926d4cf1
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: 3
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
 
@@ -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
 
@@ -1,4 +1,4 @@
1
1
  module YPetri
2
- VERSION = "2.1.45"
2
+ VERSION = "2.1.46"
3
3
  DEBUG = false
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: y_petri
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.45
4
+ version: 2.1.46
5
5
  platform: ruby
6
6
  authors:
7
7
  - boris