Skip to content

Bugfix: don't use numpy.seterr

Compare
Choose a tag to compare
@scivision scivision released this 05 Mar 05:32
· 29 commits to main since this release

use warnings.catch_warnings() context manager instead of numpy.seterr to avoid breaking other programs that import pymap3d and want their warnings not to be errors.

Thanks @sanguinariojoe for the report and suggested fix