tarf_monte_carlo 2.3.6 → 2.3.7

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: 0aa559f1331081293c450d366e52847a785f5d1625184f88dbd5777c37ed12ff
4
- data.tar.gz: 63f65cb9067dcde1ef52e1bce61dc381fbabab56212a5362f37cb3c47d20aa73
3
+ metadata.gz: aa905a33aeb61e355c1b91a335d1e1a14703b1c71ce91185c56db4e3b5252c6b
4
+ data.tar.gz: 96a2ff33019b338dedf3cfae0a8def7f3b0655a18f716aeaae43da687ff68d5f
5
5
  SHA512:
6
- metadata.gz: 0103ea38bf72f8f7da7b5bcf0a269ee060d37ae7ddd4198bfaa62a66b86f7ec3688c4d101e61eb070f7a67324ee81a6185044adf6048be1f4ef1d86fe5c6ab98
7
- data.tar.gz: 6c32222f236d0e69d7934ddb471714d43a8eb42dfcda740940c51b837bde746b4d184c8fb94b94799aab0c84e47332a852737af338cc6fb2c1f2474d62da1d4e
6
+ metadata.gz: 5f968527f927627230912f9992a17894c62a874bdcdb5a1946bdd66091d65f9e317ff9c82b61dd6c56c54040db8111c63f1ef3102e52b54195e202b29be6ca9b
7
+ data.tar.gz: 21a2d3bfc5b09af9157d3bccb6cd0a85e232ebfd42aa021435210119b5ad82a2e5bbda77ddd28d56914436bad749403531069ef9f25d61356ab53e171a3c130d
@@ -179,7 +179,7 @@ VALUE method_run_monte_carlo( VALUE self, VALUE args ) {
179
179
  //
180
180
  // Store spot and spot dash
181
181
  //
182
- if( (sim_count + 1) % INTERVAL == 0 ) {
182
+ if( (sim_count + 2) % INTERVAL == 0 ) {
183
183
  rb_p(rb_str_new2("True condition"));
184
184
  metrics[ point_pos ][ leg ] = Spot;
185
185
  metrics[ point_pos + 2 ][ leg ] = Spot_dash;
@@ -300,7 +300,7 @@ VALUE method_run_monte_carlo( VALUE self, VALUE args ) {
300
300
  //
301
301
  // store and send whichever payoff you want
302
302
  //
303
- if( (sim_count + 1) % INTERVAL == 0 ) {
303
+ if( (sim_count + 2) % INTERVAL == 0 ) {
304
304
  metrics[ point_pos + 1 ][ leg ] = sim_pos[leg];
305
305
  metrics[ point_pos + 3 ][ leg ] = sim_dash_pos[leg];
306
306
  }
@@ -320,7 +320,7 @@ VALUE method_run_monte_carlo( VALUE self, VALUE args ) {
320
320
  //
321
321
  // increment metric storing point by 4
322
322
  //
323
- if( (sim_count + 1) % INTERVAL == 0 ) {
323
+ if( (sim_count + 2) % INTERVAL == 0 ) {
324
324
  point_pos += 4;
325
325
  }
326
326
  }
@@ -3,5 +3,5 @@
3
3
  # gem yank tarf_monte_carlo -v 2.3
4
4
 
5
5
  module TarfMonteCarlo
6
- VERSION = "2.3.6"
6
+ VERSION = "2.3.7"
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.6
4
+ version: 2.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vivek Routh