RubyGems
npm
Organizations
Log in
Sign up
RubyGems
diverge
Versions diffs
1.0.2 → 1.0.3
diverge 1.0.2 → 1.0.3
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/diverge.rb
+1
-1
metadata
+1
-1
data/lib/diverge.rb
CHANGED
Viewed
@@ -39,5 +39,5 @@ class Diverge
39
39
0.5 * p.zip(q).inject(0.0) { |sum, (i, j)| sum + ((i || 0) - (j || 0)).abs }
40
40
end
41
41
42
-
alias :tvd
,
:total_variation_distance
42
+
alias :tvd :total_variation_distance
43
43
end
metadata
CHANGED
Viewed
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: diverge
3
3
version: !ruby/object:Gem::Version
4
-
version: 1.0.
2
4
+
version: 1.0.
3
5
5
prerelease:
6
6
platform: ruby
7
7
authors: