Skip to content

Commit

Permalink
fix: culturean to 0, not to 1 as previously
Browse files Browse the repository at this point in the history
  • Loading branch information
plecharpent committed Jul 10, 2023
1 parent c7bf6d9 commit 1441b74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/gen_new_travail.R
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ get_usm_data <- function(workspace,
# data$fclim2

# add constraint on culturean
if (data$culturean > 1)
data$culturean <- 1
if (data$culturean != 1)
data$culturean <- 0

# nbans
data$nbans <- get_years_number(
Expand Down

0 comments on commit 1441b74

Please sign in to comment.