the optimization names are not case sensitive anymore
This commit is contained in:
parent
a4a68d96bc
commit
a9364aa349
1 changed files with 1 additions and 0 deletions
|
|
@ -67,6 +67,7 @@ class ICapDating(ICap):
|
|||
raise NotImplementedError()
|
||||
|
||||
def get_optim(self, optim):
|
||||
optim = optim.upper()
|
||||
if not hasattr(self, 'OPTIM_%s' % optim):
|
||||
raise OptimizationNotFound()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue