Skip to content

Commit

Permalink
Merge pull request #120 from PALEOtoolkit/state_norm_fix
Browse files Browse the repository at this point in the history
Bugfix for ReactionReservoirScalar with state_norm = true
  • Loading branch information
sjdaines authored May 1, 2024
2 parents 224897e + d76cd88 commit 899fba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reactioncatalog/Reservoirs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function PB.register_methods!(rj::ReactionReservoirScalar)
(PB.VarList_fields([R]), PB.VarList_fields([R_solve]) ),
)

R_sms = PB.VarTarget( "R_sms", "mol yr-1", "scalar reservoir source-sinks", attributes=(:field_data =>rj.pars.field_data[],))
R_sms = PB.VarTargetScalar( "R_sms", "mol yr-1", "scalar reservoir source-sinks", attributes=(:field_data =>rj.pars.field_data[],))
R_solve_sms = PB.VarDerivScalar( "R_solve_sms", "yr-1", "normalized scalar reservoir source-sinks", attributes=(:field_data =>rj.pars.field_data[],))

PB.add_method_do!(
Expand Down

0 comments on commit 899fba9

Please sign in to comment.