Skip to content

Commit

Permalink
Merge pull request #98 from PALEOtoolkit/varconstraintscalar_fix
Browse files Browse the repository at this point in the history
Fix typo in VarConstraintScalar introduced in v0.21.5
  • Loading branch information
sjdaines authored Aug 9, 2023
2 parents 3a6af11 + f231147 commit 2d9fba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/VariableReaction.jl
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ VarDeriv(localname, units, description; attributes::Tuple=(), kwargs... ) =

# set :initialize_to_zero as :vfunction VF_Constraint is host-dependent so there will be no VT_ReactTarget within the model to handle :initialize_to_zero
VarConstraintScalar(localname, units, description; attributes::Tuple=(), kwargs... ) =
VarContribScalar(localname, units, description; attributes=(:initialize_to_zero=>true, field_data=>ScalarData, attributes..., :vfunction=>VF_Constraint), kwargs...)
VarContribScalar(localname, units, description; attributes=(:initialize_to_zero=>true, :field_data=>ScalarData, attributes..., :vfunction=>VF_Constraint), kwargs...)
VarConstraint(localname, units, description; attributes::Tuple=(), kwargs... ) =
VarContrib(localname, units, description; attributes=(:initialize_to_zero=>true, :field_data=>ScalarData, attributes..., :vfunction=>VF_Constraint), kwargs...)

Expand Down

0 comments on commit 2d9fba6

Please sign in to comment.