Skip to content

Commit d548652

Browse files
committed
Renam
1 parent 19803b0 commit d548652

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Nonlinear/model.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,14 @@ function set_objective(model::Model, ::Nothing)
7878
end
7979

8080
"""
81-
nonlinear_model(backend::AbstractAutomaticDifferentiation)
81+
model(backend::AbstractAutomaticDifferentiation)
8282
8383
Return a new nonlinear model appropriate for the given AD `backend`.
8484
8585
The default returns `Model()`. Custom AD backends can override this
8686
to return their own model type.
8787
"""
88-
nonlinear_model(::AbstractAutomaticDifferentiation) = Model()
88+
model(::AbstractAutomaticDifferentiation) = Model()
8989

9090
"""
9191
add_expression(model::Model, expr)::ExpressionIndex

0 commit comments

Comments
 (0)