We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fa8d92 commit 153d205Copy full SHA for 153d205
src/normalize.jl
@@ -11,7 +11,7 @@ function rescale(
11
kwargs...,
12
)
13
logn = logscalar(alg, tn; kwargs...)
14
- c = 1.0 / (exp(logn / length(vs_to_rescale)))
+ c = inv(exp(logn / length(vs_to_rescale)))
15
tn = copy(tn)
16
for v in vs_to_rescale
17
tn[v] *= c
0 commit comments