Skip to content

Commit

Permalink
bug
Browse files Browse the repository at this point in the history
  • Loading branch information
andycasey committed Feb 28, 2018
1 parent b44d1a7 commit 2074c32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions thecannon/fitting.py
Expand Up @@ -410,8 +410,8 @@ def fit_pixel_fixed_scatter(flux, ivar, initial_thetas, design_matrix,
logger.warn("Optimization warning (l_bfgs_b): {}".format(reason))

# Do optimization again.
base_op_kwds["x0"].update(op_method="powell", x0=op_params)
base_op_kwds.update(op_method="powell", x0=op_params)

else:
break

Expand Down

0 comments on commit 2074c32

Please sign in to comment.