Skip to content

Commit e76e90e

Browse files
authored
Update trig.jl
1 parent 8d5e090 commit e76e90e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ADNLPProblems/trig.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function trig(; n::Int = default_nvar, type::Type{T} = Float64, kwargs...) where
88

99
for j = max(1, i - 2):min(n, i + 2)
1010
aij = 5 * (1 + mod(i, 5) + mod(j, 5))
11-
bij = (i + j) / 10
11+
bij = (i + j) // 10
1212
s += aij * sin(x[j]) + bij * cos(x[j])
1313
end
1414
end

0 commit comments

Comments
 (0)