Skip to content
Snippets Groups Projects
Commit 3a1e8793 authored by Luc Maisonobe's avatar Luc Maisonobe
Browse files

Fixed wrong array copy.

parent 7a8f58cc
No related branches found
No related tags found
No related merge requests found
......@@ -109,7 +109,7 @@ public class PolynomialRotation implements LOSTransform {
public void getEstimatedParameters(final double[] parameters, final int start, final int length)
throws RuggedException {
checkSlice(length);
System.arraycopy(angle.getCoefficients(), 0, length, start, length);
System.arraycopy(angle.getCoefficients(), 0, parameters, start, length);
}
/** {@inheritDoc}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment