Re: [NUMPY] "ValueError: total size of new array must be unchanged" just on Windows

2011-10-14 Thread Paolo Zaffino
Nobody can help me? 2011/10/12 Paolo Zaffino > I wrote a function thaht works on a 3D matrix. > As first thing I have an array and I want reshape it into a 3D matrix (for > further manipulations). > For this reason I wrote in a row: > > matrix=matrix.reshape(a, b, c).T >

Re: [NUMPY] "ValueError: total size of new array must be unchanged" just on Windows

2011-10-12 Thread Paolo Zaffino
error: matrix=matrix.reshape(a, b, c).T ValueError: total size of new array must be unchanged Thank you. 2011/10/11 David Robinow > 2011/10/11 Paolo Zaffino : > > Nobody can help me? > Nope, not unless you post some code. Your problem description is too > vague. > -- http

Re: [NUMPY] "ValueError: total size of new array must be unchanged" just on Windows

2011-10-11 Thread Paolo Zaffino
Nobody can help me? 2011/10/10 Paolo Zaffino > On Mac OS there is numpy 1.2.1, on Fedora 14 64bits numpy 1.4.1 and on > Ubuntu 10.04 64bits numpy 1.3.0. > On these platforms my function runs without problems. > Just on Windows it doesn't works. > > > > 2011/10/

Re: [NUMPY] "ValueError: total size of new array must be unchanged" just on Windows

2011-10-10 Thread Paolo Zaffino
y versions in > windows and other platforms? You may have newer/older version in Windows. > Otherwise, it looks like a platform spesific bug to me. > > 2011/10/9 Paolo Zaffino > >> Hello, >> I wrote a function that works on a numpy matrix and it works fine on >> Mac

[NUMPY] "ValueError: total size of new array must be unchanged" just on Windows

2011-10-09 Thread Paolo Zaffino
Hello, I wrote a function that works on a numpy matrix and it works fine on Mac OS and GNU/Linux (I didn't test it on python 3) Now I have a problem with numpy: the same python file doesn't work on Windows (Windows xp, python 2.7 and numpy 2.6.1). I get this error: matrix=matrix.reshape(a, b, c) V