We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7c8ab42 + 3a214eb commit 6361740Copy full SHA for 6361740
2 files changed
pyadjoint/optimization/optimization_problem.py
@@ -39,7 +39,7 @@ def __check_arguments(self, reduced_functional, bounds, constraints):
39
raise TypeError("Instantiate a MinimizationProblem or MaximizationProblem.")
40
41
if not isinstance(reduced_functional, AbstractReducedFunctional):
42
- raise TypeError("reduced_functional should be a AbstractReducedFunctional")
+ raise TypeError("reduced_functional should be an AbstractReducedFunctional")
43
44
if bounds is not None:
45
if len(bounds) != len(reduced_functional.controls):
0 commit comments