Skip to content

Commit

Permalink
Fix a minor bug mentioned in Issue #76 -- needed to change the 'FALSE…
Browse files Browse the repository at this point in the history
…' to '0' in manager function for C. @AdrianBach -- would be could to double check that this if-else is necessary?
  • Loading branch information
bradduthie committed Aug 3, 2021
1 parent c4c5eb5 commit ebb56a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: GMSE
Type: Package
Title: Generalised Management Strategy Evaluation Simulator
Version: 0.7.0.0
Version: 0.7.0.1
Imports: grDevices (>= 4.0.0), graphics (>= 4.0.0), stats(>= 4.0.0),
shiny, shinydashboard, shinyjs, shinycssloaders
Authors@R: c(person("A. Bradley", "Duthie", email = "[email protected]",
Expand Down
2 changes: 1 addition & 1 deletion src/manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ void check_action_threshold(double ***ACTION, double *paras){
dev *= -1;
}

if(mem == FALSE){
if(mem == 0){
/* If the population deviation has hit the threshold, and time step, */
/* and that prediction is outside the non-updating band */
if(dev >= a_t || t_s < 3){
Expand Down

0 comments on commit ebb56a3

Please sign in to comment.