efge commented on a change in pull request #144:
URL: https://github.com/apache/commons-math/pull/144#discussion_r436305180
##########
File path:
src/main/java/org/apache/commons/math4/analysis/differentiation/DSCompiler.java
##########
@@ -1497,11 +1497,11 @@ public void cosh(final double[] operand, final int
operandOffset,
// create the function value and derivatives
double[] function = new double[1 + order];
- function[0] = FastMath.cosh(operand[operandOffset]);
+ final double function0 = function[0] =
FastMath.cosh(operand[operandOffset]);
Review comment:
`final` is useless, and not the code style for these files
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]