Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

optimize: handle matrix objects as initial guess (ticket #1770) #494

merged 2 commits into from Apr 1, 2013


None yet
2 participants

dlax commented Apr 1, 2013

TNC and MINPACK solvers do not handle numpy.matrix objects as initial guess correctly.

  • updated the tests to introduce matrix here and there
  • use flatten() as it is done in other solvers.

@pv pv added a commit that referenced this pull request Apr 1, 2013

@pv pv Merge pull request #494 from dlax/ticket-1770
ENH: optimize: handle matrix objects as initial guess (ticket #1770)

@pv pv merged commit c229e14 into scipy:master Apr 1, 2013


pv commented Apr 1, 2013

Makes sense. Also, not a backwards compatibility issue as it wouldn't just work previously.

@dlax dlax deleted the dlax:ticket-1770 branch Jan 11, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment