Skip to content

Commit 405ffe7

Browse files
arnavk23tmigot
andauthored
Update src/ADNLPProblems/nazareth.jl
Co-authored-by: Tangi Migot <tangi.migot@gmail.com>
1 parent 0bd40a8 commit 405ffe7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ADNLPProblems/nazareth.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function nazareth(::Val{:nlp}; n::Int = default_nvar, type::Type{T} = Float64, k
1818
end
1919
sumtrig = zero(T)
2020
for j in Ji
21-
aij = T(5 * (1 + mod(i,5) + mod(j,5)))
21+
aij = 5 * (1 + mod(i,5) + mod(j,5))
2222
bij = T((i + j) / 10)
2323
sumtrig += aij * sin(x[j]) + bij * cos(x[j])
2424
end

0 commit comments

Comments
 (0)