Skip to content

Commit

Permalink
Fix unconstrained/himmelblau.py
Browse files Browse the repository at this point in the history
  • Loading branch information
heczis committed May 25, 2018
1 parent cf17800 commit 504d983
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/unconstrained/himmelblau.py
Expand Up @@ -3,6 +3,7 @@
This example uses algopy for the gradient and hessian.
"""
from __future__ import print_function

import functools

Expand Down Expand Up @@ -39,7 +40,7 @@ def main():
fprime=functools.partial(eval_grad, himmelblau),
fhess=functools.partial(eval_hess, himmelblau),
)
print results
print(results)

if __name__ == '__main__':
main()

0 comments on commit 504d983

Please sign in to comment.