tarf_monte_carlo 3.60 → 3.61

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
  SHA256:
3
- metadata.gz: 3e84d65efa37c58059ce27ed5c949cf99d734804ae813840e7da6b46694394af
4
- data.tar.gz: 54943b6268ddf6ee4f4f7ac72d4dc3fe9f8abbee1176b159fee6c35428ac106e
3
+ metadata.gz: 157664b6dfd86644998da3438b564db2580b1f4503bb602ab321bf2b4863d63c
4
+ data.tar.gz: aec6753b1e912651e2c04357d833dbacc920442a32956993d25f37c1b07de19d
5
5
  SHA512:
6
- metadata.gz: c49d6bed204c1e80f618c828dabc12febd6576c5b2e663bc3b36de24eda39c5f4d1783006ddf7996865809cb7174acaa4ed28fd353ebcef78505e1f305e75380
7
- data.tar.gz: 5d520f207257d87a69bb9675fc3e6e36853378a0aef16c5f146a94ec2387f1de7bac75081266325a97728c80f5df8045328a2cd32599b076510d215f826c0e8a
6
+ metadata.gz: b6f807aca25b23bef95d81eea2a6bf938f9a9a607e16ffdb5d5b2ae8179555c23ef052d67ac12edef921a12ce6657035b7347d3f1b763163af847f2851b132bd
7
+ data.tar.gz: 7e30863271c763a7b57033c5d24434a1b20f908e9627e3e4ec6c2cc533c28b3f0243e67ab2511896d9beae4d83544069d494dbae815785a8fd3f0962f935ccd9
@@ -829,9 +829,7 @@ VALUE method_run_monte_carlo( VALUE self, VALUE args ) {
829
829
 
830
830
  VALUE py_final_metrics = rb_ary_new();
831
831
  for(metric = 0; metric < SCount; metric++) {
832
- VALUE leg_metrics = rb_ary_new();
833
-
834
- rb_ary_push(py_final_metrics, payoffmet[metric]);
832
+ rb_ary_push(py_final_metrics, DBL2NUM(payoffmet[metric]));
835
833
  }
836
834
  // rb_p(rb_str_new2("Generating output hash"));
837
835
  VALUE final_pvs = rb_hash_new();
@@ -3,5 +3,5 @@
3
3
  # gem yank tarf_monte_carlo -v 2.3
4
4
 
5
5
  module TarfMonteCarlo
6
- VERSION = "3.60"
6
+ VERSION = "3.61"
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tarf_monte_carlo
3
3
  version: !ruby/object:Gem::Version
4
- version: '3.60'
4
+ version: '3.61'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vivek Routh