pombreda / sfepy

Automatically exported from code.google.com/p/sfepy
0 stars 0 forks source link

scipy.linsolve gives depreciation warning #120

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
grassy@workdog:~/sfepy_dev/sfepy$ ./simple.py -q ./pyfem/its2Df.py
/usr/lib/python2.6/dist-packages/scipy/linsolve/__init__.py:4:
DeprecationWarning: scipy.linsolve has moved to scipy.sparse.linalg.dsolve
  warn('scipy.linsolve has moved to scipy.sparse.linalg.dsolve',
DeprecationWarning)

Original issue reported on code.google.com by freevryh...@gmail.com on 21 Apr 2010 at 12:35

GoogleCodeExporter commented 9 years ago
This could be silenced from your its2Df.py using [1].

Brute force way: put this at the beginning of your file:

import warnings; warnings.filterwarnings('ignore')

I am not sure what scipy versions people use, so I would rather not used the new
interface yet.

[1] http://docs.python.org/library/warnings.html

Original comment by robert.c...@gmail.com on 21 Apr 2010 at 12:52

GoogleCodeExporter commented 9 years ago
gotcha

Original comment by freevryh...@gmail.com on 22 Apr 2010 at 1:58

GoogleCodeExporter commented 9 years ago
Migrated to http://github.com/sfepy/sfepy/issues/122

Original comment by robert.c...@gmail.com on 30 Jan 2012 at 10:26