Skip to content

Commit

Permalink
Update zeroing of C array in _Initialize #2
Browse files Browse the repository at this point in the history
In the prior commit, we had removed the old code but did not commit
the new code to zero the C array.  Now fixed.

Signed-off-by: Bob Yantosca <[email protected]>
  • Loading branch information
yantosca committed Apr 27, 2022
1 parent 864c866 commit 7a27924
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/gen.c
Original file line number Diff line number Diff line change
Expand Up @@ -2844,6 +2844,11 @@ int INITVAL;
//
// Fortran-90
//
WriteComment("~~~ Zero C array");
if ( useDouble )
F90_Inline( " C = 0.0_dp" );
else
F90_Inline( " C = 0.0" );
NewLines(1);

WriteComment("~~~ Set initial species concentrations");
Expand Down

0 comments on commit 7a27924

Please sign in to comment.