tarf_monte_carlo 2.3.8 → 2.3.9

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: 7e7fdc1214db4216d6a17bac9f30ae54b7ddc220a07203c70e618f16310528b0
4
- data.tar.gz: 70bd1b80810315434d82b16ac6a7ac234b708dd3dbbfea136d499222a1b584f5
3
+ metadata.gz: 91df36cb924d72c2357fc64a0ab283f9b9d5dcd2bd28134d1abc0503341ea48a
4
+ data.tar.gz: 6c4568c45e4d8c76574285c57be890a72931a7f26ba0a3dbd655db9db6838557
5
5
  SHA512:
6
- metadata.gz: 2b93b9e151ea91bc5c89d8eb908e6332664333df3379010433e3b95d29da3efeee3aacadf43d8c0b36b8ca1c91ea1a21e4232d4473d6597a9a413a7d53e2ae57
7
- data.tar.gz: c1cd6399185706860bd6efc1fc025a7b191672015dbe1504339e6456e0385a27a7d2808352cdbc3b9ae441c7c8b6cc86779f64aeda94c98eee608c03d62c7ee4
6
+ metadata.gz: aa50980f51beadf7fa8f9922701becb94bee4b1d68ba4a45e3baf11521103fab573f85b22ff930d0b930c02f858cf65c426e59c5c522b81564693b7b8fb30289
7
+ data.tar.gz: 8d1278111cc472a5d7d0d28b6e3233f24e0bcbd4b7453c31e0e450173c29c15f9574ea3faec46e1be7ccdb6001ebff10374daf58c94058e8d02f76c6e47c5b53
@@ -320,7 +320,6 @@ VALUE method_run_monte_carlo( VALUE self, VALUE args ) {
320
320
  // increment metric storing point by 4
321
321
  //
322
322
  if( (sim_count + 2) % INTERVAL == 0 ) {
323
- rb_p(rb_str_new2("True condition"));
324
323
  point_pos += 4;
325
324
  }
326
325
  }
@@ -334,6 +333,7 @@ VALUE method_run_monte_carlo( VALUE self, VALUE args ) {
334
333
  pvs_neg_sum += *(pvs_neg + sim_count);
335
334
  }
336
335
 
336
+ rb_p(rb_str_new2("Simulation loop done"));
337
337
  //
338
338
  // free dynamically alloted heap memory
339
339
  //
@@ -350,6 +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
354
  VALUE final_metrics = rb_ary_new();
354
355
  for(metric = 0; metric < DATAPOINTS; metric++) {
355
356
  VALUE leg_metrics = rb_ary_new();
@@ -3,5 +3,5 @@
3
3
  # gem yank tarf_monte_carlo -v 2.3
4
4
 
5
5
  module TarfMonteCarlo
6
- VERSION = "2.3.8"
6
+ VERSION = "2.3.9"
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.8
4
+ version: 2.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vivek Routh