Fixing Bayesian tools
This commit is contained in:
parent
248cd5f64a
commit
693dd09a1c
@ -47,7 +47,7 @@ public class PlotFitResultAction extends OneToOneAction<FitResult, FitResult> {
|
||||
@Override
|
||||
protected FitResult execute(Context context, String name, FitResult input, Laminate metaData) {
|
||||
|
||||
FitState state = input.getState().orElseThrow(()->new UnsupportedOperationException("Can't work with fit result not containing state, sorry! Will fix it later"));
|
||||
FitState state = input.optState().orElseThrow(()->new UnsupportedOperationException("Can't work with fit result not containing state, sorry! Will fix it later"));
|
||||
|
||||
NavigablePointSource data = input.getData();
|
||||
if (!(state.getModel() instanceof XYModel)) {
|
||||
|
Loading…
Reference in New Issue
Block a user