Skip to content

Commit 153d205

Browse files
JoeyT1994mtfishman
andauthored
Update src/normalize.jl
Co-authored-by: Matt Fishman <[email protected]>
1 parent 4fa8d92 commit 153d205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/normalize.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function rescale(
1111
kwargs...,
1212
)
1313
logn = logscalar(alg, tn; kwargs...)
14-
c = 1.0 / (exp(logn / length(vs_to_rescale)))
14+
c = inv(exp(logn / length(vs_to_rescale)))
1515
tn = copy(tn)
1616
for v in vs_to_rescale
1717
tn[v] *= c

0 commit comments

Comments
 (0)