Skip to content

Commit 098ad7f

Browse files
MaxenceGollierdpo
andcommitted
Update src/R2N.jl
Co-authored-by: Dominique <[email protected]>
1 parent 605705c commit 098ad7f

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
@@ -49,7 +49,7 @@ function R2NSolver(
4949
s1 = similar(x0)
5050

5151
v0 = randn(T, length(x0))
52-
v0 /= norm(v0)
52+
v0 ./= norm(v0)
5353

5454
has_bnds = any(l_bound .!= T(-Inf)) || any(u_bound .!= T(Inf))
5555
if has_bnds

0 commit comments

Comments
 (0)