[Scipy-tickets] [SciPy] #294: ValueError: matrices are not aligned

SciPy scipy-tickets at scipy.net
Wed Oct 25 02:45:44 CDT 2006


#294: ValueError: matrices are not aligned
----------------------------+-----------------------------------------------
 Reporter:  nils            |       Owner:  somebody
     Type:  defect          |      Status:  new     
 Priority:  normal          |   Milestone:          
Component:  scipy.optimize  |     Version:  devel   
 Severity:  normal          |    Keywords:          
----------------------------+-----------------------------------------------
 python -i maxeig.py produces
 {{{
 Optimization terminated successfully.
          Current function value: -0.180259
          Iterations: 65
          Function evaluations: 122
          Gradient evaluations: 122
 Largest eigenvalue of a real symmetric matrix 0.849137783781
 0.849137780323
 Traceback (most recent call last):
   File "maxeig.py", line 30, in ?
     xopt = optimize.fmin_ncg(P_A,x0,P_Ap,P_App_x,P_App)
   File "/usr/lib64/python2.4/site-packages/scipy/optimize/optimize.py",
 line 1029, in fmin_ncg
     curv = numpy.dot(psupi,Ap)
 ValueError: matrices are not aligned
 }}}

-- 
Ticket URL: <http://projects.scipy.org/scipy/scipy/ticket/294>
SciPy <http://www.scipy.org/>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list