summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rwxr-xr-xutil/convlr.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/convlr.rb b/util/convlr.rb
index 864f397..c845847 100755
--- a/util/convlr.rb
+++ b/util/convlr.rb
@@ -19,7 +19,7 @@ ks = updates.keys + grads.keys
rates = SparseVector.new
ks.each { |k|
- rates[k] = -1*(Math.sqrt(updates[k]+smooth)/Math.sqrt(grads[k]+smooth))
+ rates[k] = Math.sqrt(updates[k]+smooth)/Math.sqrt(grads[k]+smooth)
}
rates.each { |k,v|