Skip to content

Commit

Permalink
added missing Num in constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
chplate committed May 21, 2024
1 parent bfebca6 commit b8ccbe6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/src/examples/1D.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ constraint_equations = [
]
@named constraint_system = ConstraintsSystem(
constraint_equations, collect(optimization_variables), []
constraint_equations, collect(optimization_variables), Num[]
)
nothing # hide
```
Expand Down
2 changes: 1 addition & 1 deletion docs/src/examples/lotka.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ constraint_equations = [
]
@named constraint_system = ConstraintsSystem(
constraint_equations, collect(optimization_variables), []
constraint_equations, collect(optimization_variables), Num[]
)
nothing # hide
```
Expand Down
2 changes: 1 addition & 1 deletion docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ constraint_equations = [
sum(optimization_variables.measurements.w₁) 3,
]

@named constraint_set = ConstraintsSystem(constraint_equations, optimization_variables,[])
@named constraint_set = ConstraintsSystem(constraint_equations, optimization_variables, Num[])

# Initialize the optimization problem
optimization_problem = OptimizationProblem(oed_problem, AutoForwardDiff(),
Expand Down

0 comments on commit b8ccbe6

Please sign in to comment.