You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have PyTables (v3.2.2) running on multiple systems (OS X, Scientific Linux CERN, and Cent OS).
On the Mac numpy 1.9.4 and numexpr 2.4.4 are installed
On the SLC machine numpy 1.10.4 and numexpr 2.4.6 are installed.
I have a table (sims) with a column (energy) containing values ranging from 1e12 to 1e18. Most values are at full powers of ten (e.g 1e13 and 1e14) or in between (e.g. 10**13.5 and 10**15.5). So to easily query these values I use the log10 option for PyTables queries. The following query works on the Mac, but returns the wrong result on the SLC machine:
So this may not be a PyTables bug perse, perhaps the fault lies with Numexpr. However, I encountered it while using PyTables. It would be good for PyTables to require a properly working version of Numexpr. Also, what is the source of this bug? Numexpr, Numpy, or something else?
We encountered a similar bug/inconsistency recently concerning the accuracy of the query when using log10: HiSPARC/sapphire#114
It appears that Numexpr 2.4.6 is the culprit. We can downgrade to 2.4.4, unfortunately upgrading to 2.5.0 is not an option because that also breaks some parts of the code: HiSPARC/publicdb#131
I have PyTables (v3.2.2) running on multiple systems (OS X, Scientific Linux CERN, and Cent OS).
On the Mac numpy 1.9.4 and numexpr 2.4.4 are installed
On the SLC machine numpy 1.10.4 and numexpr 2.4.6 are installed.
I have a table (
sims
) with a column (energy
) containing values ranging from1e12
to1e18
. Most values are at full powers of ten (e.g1e13
and1e14
) or in between (e.g.10**13.5
and10**15.5
). So to easily query these values I use thelog10
option for PyTables queries. The following query works on the Mac, but returns the wrong result on the SLC machine:So this may not be a PyTables bug perse, perhaps the fault lies with Numexpr. However, I encountered it while using PyTables. It would be good for PyTables to require a properly working version of Numexpr. Also, what is the source of this bug? Numexpr, Numpy, or something else?
We encountered a similar bug/inconsistency recently concerning the accuracy of the query when using
log10
: HiSPARC/sapphire#114(Our issue on this problem HiSPARC/sapphire#116)
The text was updated successfully, but these errors were encountered: