changeset 58:2194155309f4 draft

Uploaded
author greg
date Fri, 09 Nov 2018 13:05:31 -0500
parents 20c1451d8869
children 892cf703be62
files insect_phenology_model.R
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/insect_phenology_model.R	Fri Nov 09 12:51:55 2018 -0500
+++ b/insect_phenology_model.R	Fri Nov 09 13:05:31 2018 -0500
@@ -870,7 +870,8 @@
             }
             if (vector.individual[2] == 0) {
                 # Egg.
-                death.probability = opt$egg_mortality * mortality.egg(mean.temp, adj=opt$egg_mortality);
+                #death.probability = opt$egg_mortality * mortality.egg(mean.temp, adj=opt$egg_mortality);
+                death.probability = opt$egg_mortality * mortality.egg(mean.temp);
             }
             else if (vector.individual[2] == 1 | vector.individual[2] == 2) {
                 # Nymph.