erv 0.3.0 → 0.3.1

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
  SHA1:
3
- metadata.gz: 7dd791a7886ff932086acc0bfe0c30eb43dab514
4
- data.tar.gz: b3b088d570cfb19d579d524f86fe35ddc731d879
3
+ metadata.gz: a94686dfda6162e93eb5b19063ef7fd28842d434
4
+ data.tar.gz: 22b0835f5343f735f5e2f970ce32acc7dac56206
5
5
  SHA512:
6
- metadata.gz: 11b2ad325261926571fe63d51c9f08227fa1785de31c57c7f60769721d9195b892965debd9278a42b1aca129e5c8a53f812a29ef900eab502cde48df16c41a6d
7
- data.tar.gz: af27054d6de5b9e3d2285505c116957a96faaae155dcc7441d3beaf23ad582eeef9a98b4d2e0dc217c938daf867cf16af3825415fd7a85ed5ade682f8d4b77a4
6
+ metadata.gz: 61a34d96497ca307867a72d410d1274562808eba25f5fa19ff4c53533f248537cf17df7a0354c62ae10836e01f03edf3fb6eedd844b005ddd7e1fdb8625a2ff5
7
+ data.tar.gz: b7294f4b04076fff19998ed58c20ad77eb69ae139a80d1821403eb1d60e61fb9aba460fa281c83fb140065818f20a31dcfe15e3bd2d42af93b5a9c0d331cb982
@@ -17,7 +17,7 @@ module ERV
17
17
  # 4.47) to obtain x ~ N(0,1).
18
18
  u_1 = @rng.rand
19
19
  u_2 = @rng.rand
20
- x = Math.sqrt(-2.0 * Math.log(u_1)) * Math.cos(2.0 * Math.PI * u_2)
20
+ x = Math.sqrt(-2.0 * Math.log(u_1)) * Math.cos(2.0 * Math::PI * u_2)
21
21
 
22
22
  # use location-scale transformation to obtain a N(\mu, \sigma^2)
23
23
  # distribution. see [GROESE11], section 3.1.2.2.
@@ -5,6 +5,7 @@ require 'erv/gamma_distribution'
5
5
  require 'erv/gaussian_distribution'
6
6
  require 'erv/general_pareto_distribution'
7
7
  require 'erv/geometric_distribution'
8
+ require 'erv/mixture_distribution'
8
9
  require 'erv/uniform_distribution'
9
10
  require 'erv/support/try'
10
11
 
data/lib/erv/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module ERV
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: erv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mauro Tortonesi
@@ -80,7 +80,7 @@ dependencies:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: 0.0.3
83
- description: erv-0.3.0
83
+ description: erv-0.3.1
84
84
  email:
85
85
  - mauro.tortonesi@unife.it
86
86
  executables: []