We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 039a60c commit 4d99e6dCopy full SHA for 4d99e6d
2 files changed
src/ADNLPProblems/ADNLPProblems.jl
@@ -42,7 +42,8 @@ end
42
macro adjust_nvar_warn(problem_name, n_orig, n)
43
return quote
44
($(esc(n)) == $(esc(n_orig))) ||
45
- @warn($(esc(problem_name)) * ": number of variables adjusted from " * string($(esc(n_orig))) * " to " * string($(esc(n))))
+ @warn(string($(esc(problem_name)), ": number of variables adjusted from ",
46
+ $(esc(n_orig)), " to ", $(esc(n))))
47
end
48
49
src/ADNLPProblems/bearing.jl
@@ -9,7 +9,7 @@ function bearing(;
9
) where {T}
10
# nx > 0 # grid points in 1st direction
11
# ny > 0 # grid points in 2nd direction
12
-
+
13
# Ensure nx and ny are at least 1, and warn if they need adjustment
14
nx_orig = nx
15
ny_orig = ny
0 commit comments