Commit 5d3c20bc authored by matecellab's avatar matecellab
Browse files

discon parameter referred to wrong step name

parent ddc2863e
......@@ -584,7 +584,7 @@ for b = 1:numel(basil)
fprintf(fid,'myModel.steps[''step-4''].setValues(matrixSolver=DIRECT, matrixStorage=UNSYMMETRIC, solutionTechnique=FULL_NEWTON)\n');
if param.discon == 1
fprintf(fid,'myModel.steps[''load basil%i''].control.setValues(allowPropagation=OFF, resetDefaultValues=OFF, discontinuous=ON, lineSearch=(5.0, 1.0, 0.0001, 0.25, 0.1))\n',basil(b));
fprintf(fid,'myModel.steps[''step-4''].control.setValues(allowPropagation=OFF, resetDefaultValues=OFF, discontinuous=ON, lineSearch=(5.0, 1.0, 0.0001, 0.25, 0.1))\n',basil(b));
end
% job
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment