Commit 9bc9a686 authored by Luc Maisonobe's avatar Luc Maisonobe
Browse files

Fixed an inconsistency in using derivatives factories.

parent 9fe33cc6
......@@ -433,7 +433,7 @@ public class PartialDerivativesEquations implements AdditionalEquations {
if (drivers[i].getName().equals(driver.getName())) {
parameters[i] = factory11.variable(0, drivers[i].getValue());
} else {
parameters[i] = factory.constant(drivers[i].getValue());
parameters[i] = factory11.constant(drivers[i].getValue());
}
}
final FieldVector3D<DerivativeStructure> accDer = forceModel.acceleration(s11, parameters);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment