tarf_monte_carlo 3.3 → 3.4

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: 7bddac3b5e7af3e02fd26e5f6be5a9476aeec8a540aa6b421949a6d262aed010
4
- data.tar.gz: 712f11b30851dcfb1074eb01048eaa82e3e597b271564075284dde14f2b7d2d4
3
+ metadata.gz: f90742330d3f80592bdce28e973cddc0e5f3e4f33a3eaa95c2e779a4d0d7e0f8
4
+ data.tar.gz: 9f9fc72f4678623c133b6920fd93f02a0712dbf7e59a889356c30766733c5f1f
5
5
  SHA512:
6
- metadata.gz: bdf3810aac673d4f9bfabb148f252651de46c7445ed3898a4bcb03818e0c7588de62e8d1ed55e6151e75298dfdbff7b375a757741ada2d6940bf8f3ddd7fb735
7
- data.tar.gz: 0277345a8817760058303e2a3dc7509f662919f0a20a0916ddac9e673f97aa2cc041509d4d800224a476a5ab9ed5633bf4dcee83832cfc82c2dbdbc1812a6e51
6
+ metadata.gz: 10e15c3d7b598cf89ea2c2ae7f58df77415b3563697f82a87c18d7544783e8974cc35e416d254ba78eae79d9265572de7e06c56ea39c8f89bcc131e6999d3b82
7
+ data.tar.gz: ecac211c54170175bfd6b469719dfc65349f3506854d7c5275e48b9087b44e8452a291ac3727d8babf094a16c1a9453233fe57f7cb6ae7e018e2526c07f2f18b
@@ -300,8 +300,8 @@ VALUE method_run_monte_carlo( VALUE self, VALUE args ) {
300
300
  //
301
301
  if( point_pos <= SIM_LIMIT && (sim_count + 2) % INTERVAL == 0 ) {
302
302
  rb_p(rb_str_new2("Leg:Payoffs"));
303
- metrics[ point_pos + 1 ][ leg ] = sim_pos[leg];
304
- metrics[ point_pos + 3 ][ leg ] = sim_dash_pos[leg];
303
+ metrics[ point_pos + 1 ][ leg ] = (sim_pos[leg] + sim_neg[leg]);
304
+ metrics[ point_pos + 3 ][ leg ] = (sim_dash_pos[leg] + sim_dash_neg[leg]);
305
305
  }
306
306
 
307
307
  sim_pos_sum += sim_pos[leg] * ( *( DFs_array + leg ) );
@@ -3,5 +3,5 @@
3
3
  # gem yank tarf_monte_carlo -v 2.3
4
4
 
5
5
  module TarfMonteCarlo
6
- VERSION = "3.3"
6
+ VERSION = "3.4"
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.3'
4
+ version: '3.4'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vivek Routh