Skip to content

Commit

Permalink
Update @force_nonlinear.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Oct 8, 2024
1 parent 16ac20d commit 15c2c1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/macros/@force_nonlinear.jl
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ julia> @expression(model, @force_nonlinear(x * 2.0 * (1 + x) * x))
x * 2.0 * (1 + x) * x
julia> @allocated @expression(model, x * 2.0 * (1 + x) * x)
3200
2640
julia> @allocated @expression(model, @force_nonlinear(x * 2.0 * (1 + x) * x))
640
672
```
"""
macro force_nonlinear(expr)
Expand Down

0 comments on commit 15c2c1e

Please sign in to comment.