Skip to content

Commit 9517db7

Browse files
MaxenceGollierdpo
andauthored
Update src/R2N.jl
Co-authored-by: Dominique <[email protected]>
1 parent 7bf5cb1 commit 9517db7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/R2N.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function R2NSolver(
4747
s1 = similar(x0)
4848

4949
v0 = randn(T, length(x0))
50-
v0 /= norm(v0)
50+
v0 ./= norm(v0)
5151

5252
has_bnds = any(l_bound .!= T(-Inf)) || any(u_bound .!= T(Inf))
5353
if has_bnds

0 commit comments

Comments
 (0)