fix timeseries problem
diff --git a/org.eclipse.stem/core/org.eclipse.stem.solvers.stochastic/src/org/eclipse/stem/solvers/stochastic/impl/StandardStochasticImpl.java b/org.eclipse.stem/core/org.eclipse.stem.solvers.stochastic/src/org/eclipse/stem/solvers/stochastic/impl/StandardStochasticImpl.java index c640c06..881a344 100644 --- a/org.eclipse.stem/core/org.eclipse.stem.solvers.stochastic/src/org/eclipse/stem/solvers/stochastic/impl/StandardStochasticImpl.java +++ b/org.eclipse.stem/core/org.eclipse.stem.solvers.stochastic/src/org/eclipse/stem/solvers/stochastic/impl/StandardStochasticImpl.java
@@ -558,6 +558,12 @@ } private void copyCurrentToNext(IntegrationLabel iLabel) { + // SED FIX 2019/02/21. + // Need to set tbhe next label valid so that notifications occurs on the GraphImpl switchToNextValue() call, + // or things like TimeSeries won't work. + + iLabel.setNextValueValid(true); + IntegrationLabelValue iLabelValueCurrent = (IntegrationLabelValue)iLabel.getCurrentValue(); IntegrationLabelValue iLabelValueNext = (IntegrationLabelValue)iLabel.getNextValue(); iLabelValueNext.set(iLabelValueCurrent);