Skip to content

Commit

Permalink
updated wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
gjkennedy committed Dec 7, 2023
1 parent 339d8cc commit 8c5a27f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pyoptsparse/pyParOpt/ParOpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@
except:

class ParOpt:
pass
def __init__(self, raiseError=True, options={}):
name = "ParOpt"
category = "Local Optimizer"
if raiseError:
raise Error("There was an error importing ParOpt")

0 comments on commit 8c5a27f

Please sign in to comment.