tarf_monte_carlo 2.3.9 → 3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 91df36cb924d72c2357fc64a0ab283f9b9d5dcd2bd28134d1abc0503341ea48a
4
- data.tar.gz: 6c4568c45e4d8c76574285c57be890a72931a7f26ba0a3dbd655db9db6838557
3
+ metadata.gz: a1d7a8657803ffdd0acdb52da40b299a3cc5e80c3c46c93b268778647efe0dd9
4
+ data.tar.gz: ac9ed9dceceee83e5d1d09a387c77cd040392e620008b647898c9c9f64525443
5
5
  SHA512:
6
- metadata.gz: aa50980f51beadf7fa8f9922701becb94bee4b1d68ba4a45e3baf11521103fab573f85b22ff930d0b930c02f858cf65c426e59c5c522b81564693b7b8fb30289
7
- data.tar.gz: 8d1278111cc472a5d7d0d28b6e3233f24e0bcbd4b7453c31e0e450173c29c15f9574ea3faec46e1be7ccdb6001ebff10374daf58c94058e8d02f76c6e47c5b53
6
+ metadata.gz: 7a0efa4e5a7664c03a8df28f04a4a9746824710a4b00a1c0346ae3ab4014090e08399d26caf1c466cae66983e1e3be853d45b7cd1261d4a51c4b8e03268946e3
7
+ data.tar.gz: f3c781d7ab7d25bdaaa04110ad96d8a231b221e3a40b7d3120b9791b6cb15ad60cceeecf8edf79ad6e50053f4db3b0bc4bec3fa663febf00d4a2e2201ab9a422
@@ -350,7 +350,7 @@ VALUE method_run_monte_carlo( VALUE self, VALUE args ) {
350
350
  //
351
351
  // return both payoffs
352
352
  //
353
- rb_p(rb_str_new2("Pushing final values"));
353
+ rb_p(rb_str_new2("Converting metrics"));
354
354
  VALUE final_metrics = rb_ary_new();
355
355
  for(metric = 0; metric < DATAPOINTS; metric++) {
356
356
  VALUE leg_metrics = rb_ary_new();
@@ -362,6 +362,7 @@ VALUE method_run_monte_carlo( VALUE self, VALUE args ) {
362
362
  rb_ary_push(final_metrics, leg_metrics);
363
363
  }
364
364
 
365
+ rb_p(rb_str_new2("Generating output hash"));
365
366
  VALUE final_pvs = rb_hash_new();
366
367
  rb_hash_aset(final_pvs, rb_str_new2("positive_pv"), DBL2NUM( pvs_pos_sum / SCount ));
367
368
  rb_hash_aset(final_pvs, rb_str_new2("negative_pv"), DBL2NUM( pvs_neg_sum / SCount ));
@@ -3,5 +3,5 @@
3
3
  # gem yank tarf_monte_carlo -v 2.3
4
4
 
5
5
  module TarfMonteCarlo
6
- VERSION = "2.3.9"
6
+ VERSION = "3.0"
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: 2.3.9
4
+ version: '3.0'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vivek Routh