Skip to content

Commit

Permalink
fix crop reset
Browse files Browse the repository at this point in the history
  • Loading branch information
ftomei committed Aug 6, 2024
1 parent 1eef8e2 commit f90e444
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crop/crop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Crit3DCrop::Crit3DCrop()
void Crit3DCrop::clear()
{
idCrop = "";
type = HERBACEOUS_ANNUAL;
type = BARESOIL;

roots.clear();

Expand Down
2 changes: 1 addition & 1 deletion crop/crop.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#endif

enum speciesType {HERBACEOUS_ANNUAL, HERBACEOUS_PERENNIAL, HORTICULTURAL, GRASS, TREE, FALLOW, FALLOW_ANNUAL, BARESOIL};
#define NR_CROP_SPECIES 7
#define NR_CROP_SPECIES 8

/*!
* \brief The Crit3DCrop class
Expand Down

0 comments on commit f90e444

Please sign in to comment.