Skip to content

Commit 275c7b6

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

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
@@ -19,7 +19,7 @@ function nazareth(::Val{:nlp}; n::Int = default_nvar, type::Type{T} = Float64, k
1919
sumtrig = zero(T)
2020
for j in Ji
2121
aij = 5 * (1 + mod(i,5) + mod(j,5))
22-
bij = T((i + j) / 10)
22+
bij = (i + j) // 10
2323
sumtrig += aij * sin(x[j]) + bij * cos(x[j])
2424
end
2525
s += (n + i - sumtrig)^2

0 commit comments

Comments
 (0)