/src/main/java/net/finmath/timeseries/models/parametric/DisplacedLognormalGJRGARCH.java
final double mu  = parameters[3];final double displacement = parameters[5];
final double displacement = parameters[5];
public double value(final double[] parameters) { final double omega = parameters[0]; final double alpha = parameters[1]; final double beta = parameters[2]; final double mu = parameters[3]; final double gamma = parameters[4]; <extra_id_0> double logLikelihood = getLogLikelihoodForParameters(parameters); logLikelihood -= Math.max(1E-30-omega,0)/1E-30; logLikelihood -= Math.max(1E-30-alpha,0)/1E-30; logLikelihood -= Math.max((alpha-1)+1E-30,0)/1E-30; logLikelihood -= Math.max(1E-30-beta,0)/1E-30; logLikelihood -= Math.max((beta-1)+1E-30,0)/1E-30;