We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e76e90e commit 5e003e5Copy full SHA for 5e003e5
src/ADNLPProblems/toint.jl
@@ -4,7 +4,7 @@ function toint(; n::Int = default_nvar, type::Type{T} = Float64, kwargs...) wher
4
function f(x; n = length(x))
5
s = zero(T)
6
for i = 1:n
7
- ci = 1 + (i / 10)
+ ci = 1 + (i // 10)
8
9
for j = max(1, i - 2):min(n, i + 2)
10
aij = 5 * (1 + mod(i, 5) + mod(j, 5))
0 commit comments