Re: F2PY changing integers to arrays???

2008-09-09 Thread Uwe Schmitt
On 9 Sep., 18:41, john <[EMAIL PROTECTED]> wrote: > I have a simple module which performs basic operations on plot3d files > (below).  I wrapped like: > > f2py --fcompiler=gfortran -m plot3d -c prec.f90 plot3d.f90 > > That seems to work fine, but i get some unexpected results... > > >>> from plot3d

Re: F2PY changing integers to arrays???

2008-09-09 Thread john
Hmmm... I didn't even try that... I thought this might have caused problems down the road passing this var to other classes, etc., but i guess not! Thanks. -- http://mail.python.org/mailman/listinfo/python-list

Re: F2PY changing integers to arrays???

2008-09-09 Thread mwojc
john wrote: > I have a simple module which performs basic operations on plot3d files > (below). I wrapped like: > > f2py --fcompiler=gfortran -m plot3d -c prec.f90 plot3d.f90 > > That seems to work fine, but i get some unexpected results... > from plot3d import plot3d as p3 dir(p3) >

F2PY changing integers to arrays???

2008-09-09 Thread john
I have a simple module which performs basic operations on plot3d files (below). I wrapped like: f2py --fcompiler=gfortran -m plot3d -c prec.f90 plot3d.f90 That seems to work fine, but i get some unexpected results... >>> from plot3d import plot3d as p3 >>> dir(p3) ['imax', 'jmax', 'kmax', 'mg',