tarf_monte_carlo 2.3.4 → 2.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/tarf_monte_carlo/tarf_monte_carlo.c +0 -3
- data/lib/tarf_monte_carlo/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2adfd31244ff802358d6142962880cec568f2bc43b32e522b55e222f37c0204
|
4
|
+
data.tar.gz: 5e4d70308d246534cc0771056d45284b1e22f8a615b4e45bba72246a9ae55287
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 737fdb32197c5faab7a101bc8787a4e0ebfcc3662f1109b5d45a0b2d0e4f6d323e1154bfe77162ad147816934cc884fca30ecd6fdf91843e1c323d62afc71bb0
|
7
|
+
data.tar.gz: b346dd215120270ffae8d7d2115f7002187b758fe452c790f6e39e16875ac76ad2cce676e1d016107c7ce782cf5a6e6f2299e790018b33b86f5ffea62b2b585d
|
@@ -179,7 +179,6 @@ VALUE method_run_monte_carlo( VALUE self, VALUE args ) {
|
|
179
179
|
// Store spot and spot dash
|
180
180
|
//
|
181
181
|
if( (sim_count + 1) % 50 == 0 ) {
|
182
|
-
rb_p( (sim_count + 1) );
|
183
182
|
metrics[ point_pos ][ leg ] = Spot;
|
184
183
|
metrics[ point_pos + 2 ][ leg ] = Spot_dash;
|
185
184
|
}
|
@@ -350,8 +349,6 @@ VALUE method_run_monte_carlo( VALUE self, VALUE args ) {
|
|
350
349
|
//
|
351
350
|
// return both payoffs
|
352
351
|
//
|
353
|
-
rb_p(rb_str_new2("Metrics:"));
|
354
|
-
rb_p(metrics);
|
355
352
|
VALUE final_metrics = rb_ary_new();
|
356
353
|
for(metric = 0; metric < DATAPOINTS; metric++) {
|
357
354
|
VALUE leg_metrics = rb_ary_new();
|