Menu

Commit [r220]  Maximize  Restore  History

Updated bmrblib to protect against future changes occurring in the numpy Python package.

From numpy version 1.9, the FutureWarning "__main__:1: FutureWarning: comparison to `None` will
result in an elementwise object comparison in the future." is seen when using bmrblib. The issue
is that the behaviour of the comparison operators '==' and '!=' will change with future numpy
versions. These have been replaced with 'is' and 'is not' throughout.

bugman 2015-10-16

changed /trunk/bmrblib/misc.py
/trunk/bmrblib/misc.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.