Skip to content

Commit

Permalink
added commented flag for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
stineb committed Jun 19, 2024
1 parent e89d88b commit 660c6f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/Makevars.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
# -fsanitize=address: Using the Address Sanitizer https://rstudio.github.io/r-manuals/r-exts/Debugging.html#using-the-address-sanitizer
# PKG_FFLAGS = -frecursive -fbounds-check -Wall -Wextra -Wpedantic -g -O0 -fsanitize=address

# PKG_FFLAGS = -g -fsanitize=address

# C objects
C_OBJS = wrappersc.o

Expand Down
4 changes: 2 additions & 2 deletions src/vegetation_biomee.mod.f90
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ subroutine vegn_CNW_budget( vegn, forcing, init )
do i = 1, vegn%n_cohorts

cc => vegn%cohorts(i)
associate ( sp => spdata(cc%species) )
! associate ( sp => spdata(cc%species) )

! increment the cohort age
cc%age = cc%age + myinterface%dt_fast_yr
Expand All @@ -76,7 +76,7 @@ subroutine vegn_CNW_budget( vegn, forcing, init )
cc%plabl%c%c12 = cc%plabl%c%c12 + cc%npp
cc%plabl%n%n14 = cc%plabl%n%n14 + cc%fixedN

end associate
! end associate
enddo ! all cohorts

! update soil carbon
Expand Down

0 comments on commit 660c6f2

Please sign in to comment.