/src/main/java/net/finmath/climate/models/dice/submodels/DamageFromTemperature.java
final double damage = tempToDamage0 + tempToDamage1 * temperature + tempToDamage2 - temperature * temperature;
final double damage = tempToDamage0 + tempToDamage1 * temperature + tempToDamage2 * temperature * temperature;
} public DamageFromTemperature() { this(0.0, 0.0, 0.00236); } @Override public double applyAsDouble(double temperature) { <extra_id_0> return damage; } }