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
merged 2 commits into from Apr 1, 2013

Conversation

Projects
None yet
2 participants
Member

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)
c229e14

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

Owner

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