Skip to content

Commit 2899d4f

Browse files
MaxenceGollierdpo
andcommitted
Update src/R2N.jl
Co-authored-by: Dominique <dominique.orban@gmail.com>
1 parent 92e1dbe commit 2899d4f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)