Skip to content

Commit

Permalink
Fix order of inputs in net_mass_production_dt (#389)
Browse files Browse the repository at this point in the history
Addresses #378.
  • Loading branch information
aornugent authored May 20, 2024
1 parent 2adb90f commit 68805e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ff16_strategy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ double FF16_Strategy::net_mass_production_dt(const FF16_Environment& environment
const double respiration_ =
respiration(mass_leaf_, mass_sapwood_, mass_bark_, mass_root_);
const double turnover_ =
turnover(mass_leaf_, mass_sapwood_, mass_bark_, mass_root_);
turnover(mass_leaf_, mass_bark_, mass_sapwood_, mass_root_);
return net_mass_production_dt_A(assimilation_, respiration_, turnover_);
}

Expand Down
2 changes: 1 addition & 1 deletion src/tf24_strategy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ double TF24_Strategy::net_mass_production_dt(const TF24_Environment& environment
const double respiration_ =
respiration(mass_leaf_, mass_sapwood_, mass_bark_, mass_root_);
const double turnover_ =
turnover(mass_leaf_, mass_sapwood_, mass_bark_, mass_root_);
turnover(mass_leaf_, mass_bark_, mass_sapwood_, mass_root_);
return net_mass_production_dt_A(assimilation_, respiration_, turnover_);
}

Expand Down

0 comments on commit 68805e3

Please sign in to comment.