Skip to content

Commit

Permalink
Merge pull request #2926 from KratosMultiphysics/fix-opt-algorithm-minor
Browse files Browse the repository at this point in the history
[ShapeOpt] Fixing typo that may result in runtime error
  • Loading branch information
dbaumgaertner authored Sep 24, 2018
2 parents 9746da0 + 2f091b9 commit 59f4d61
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ def CreateOptimizationAlgorithm(optimization_settings, analyzer, communicator, m
communicator,
model_part_controller)
else:
raise NameError("The following optimization algorithm is not supported by the algorithm factory: " + AlgorithmName)
raise NameError("The following optimization algorithm is not supported by the algorithm factory: " + algorithm_name)

# ==============================================================================
# ==============================================================================

0 comments on commit 59f4d61

Please sign in to comment.