Skip to content

Commit 53dcd6e

Browse files
#2693 code changs
1 parent 5412df7 commit 53dcd6e

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/OSPSuite.Core/Converters/v13/Converter121To130.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public Converter121To130(ISolverSettingsFactory solverSettingsFactory)
3030
public (int convertedToVersion, bool conversionHappened) Convert(object objectToUpdate)
3131
{
3232
_converted = false;
33-
performConversion(objectToUpdate);
33+
this.Visit(objectToUpdate);
3434
return (PKMLVersion.V13_0, _converted);
3535
}
3636

@@ -39,8 +39,6 @@ public Converter121To130(ISolverSettingsFactory solverSettingsFactory)
3939
return (PKMLVersion.V13_0, false);
4040
}
4141

42-
private void performConversion(object objectToUpdate) => this.Visit(objectToUpdate);
43-
4442
public void Visit(SimulationTransfer simulationTransfer)
4543
{
4644
Visit(simulationTransfer.Simulation);

src/OSPSuite.R/Services/SimulationRunner.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ private async Task<SimulationResults> runAsync(IModelCoreSimulation simulation,
124124
private Core.Domain.SimulationRunOptions coreSimulationRunOptionsFrom(SimulationRunOptions simulationRunOptions, IModelCoreSimulation simulation)
125125
{
126126
var options = simulationRunOptions ?? new SimulationRunOptions();
127-
options.CheckForNegativeValues = simulation.Settings?.Solver?.CheckForNegativeValues ?? false;
127+
options.CheckForNegativeValues = simulation.Settings.Solver.CheckForNegativeValues;
128128
return new Core.Domain.SimulationRunOptions
129129
{
130130
CheckForNegativeValues = options.CheckForNegativeValues,

0 commit comments

Comments
 (0)