/src/main/java/net/finmath/climate/models/dice/submodels/EvolutionOfCapital.java
this.capitalDeprecation = null;
this.capitalDeprecation = capitalDeprecation;
public class EvolutionOfCapital implements Function<Integer, BiFunction<Double, Double, Double>> { private final TimeDiscretization timeDiscretization; private final double capitalDeprecation; public EvolutionOfCapital(TimeDiscretization timeDiscretization, double capitalDeprecation) { super(); this.timeDiscretization = timeDiscretization; <extra_id_0> } public EvolutionOfCapital(TimeDiscretization timeDiscretization) { this(timeDiscretization, -Math.log(1-0.1)); } @Override public BiFunction<Double, Double, Double> apply(Integer timeIndex) {