Add serial version UID to fix compile warnings

This commit is contained in:
Alex Herbert 2023-11-21 19:08:42 +00:00
parent b68b2601ab
commit 6b97a087dd
3 changed files with 3 additions and 0 deletions

View File

@ -209,6 +209,7 @@ public class AdamsBashforthIntegratorTest {
}
private static final class PerfectInterpolator implements StepInterpolator {
private static final long serialVersionUID = 1;
private final TestProblemAbstract problem;
private double previousTime;
private double currentTime;

View File

@ -197,6 +197,7 @@ public class AdamsMoultonIntegratorTest {
}
private static final class PerfectInterpolator implements StepInterpolator {
private static final long serialVersionUID = 1;
private final TestProblemAbstract problem;
private double previousTime;
private double currentTime;

View File

@ -117,6 +117,7 @@ public class DummyStepInterpolatorTest {
}
private static final class BadStepInterpolator extends DummyStepInterpolator {
private static final long serialVersionUID = 1;
BadStepInterpolator(double[] y, boolean forward) {
super(y, new double[y.length], forward);
}