Make AgricultureModel parametric type AgricultureModel{Tcroptype,Tcropstate}
This allows the removal of the abstract types AbstractFarmPlot, AbstractCropType, AbstractCropState.
Showing
- src/core/simulation.jl 27 additions, 24 deletionssrc/core/simulation.jl
- src/crop/almass.jl 7 additions, 13 deletionssrc/crop/almass.jl
- src/crop/croptypes.jl 2 additions, 2 deletionssrc/crop/croptypes.jl
- src/crop/farmplot.jl 3 additions, 211 deletionssrc/crop/farmplot.jl
- src/crop/simplecrop.jl 5 additions, 9 deletionssrc/crop/simplecrop.jl
- test/runtests.jl 19 additions, 14 deletionstest/runtests.jl
Loading
Please register or sign in to comment