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
coefsread = pyEXP.coefs.Coefs.factory('coef1.txt')
C = coefsread.getAllCoefs()
print(C[1,:])
coefsread = pyEXP.coefs.Coefs.factory('coef1.txt')
C = coefsread.getAllCoefs()
print(C[1,:])
I get
---- Coefs::factory: error opening as HDF5, trying EXP native and ascii table
---- Coefs::factory: read ascii and created TableData
[6.43503391e-08 5.98943807e-08 6.66737480e-08 6.90625039e-08
7.15178637e-08 7.40412731e-08 7.66340220e-08 7.92974728e-08
8.20330039e-08 8.48420093e-08 0.00000000e+00]
---- Coefs::factory: error opening as HDF5, trying EXP native and ascii table
---- Coefs::factory: read ascii and created TableData
[6.20909780e-08 6.43503391e-08 6.66737480e-08 6.90625039e-08
7.15178637e-08 7.40412731e-08 7.66340220e-08 7.92974728e-08
8.20330039e-08 8.48420093e-08 0.00000000e+00]
i.e. different results for the same file (when they should be the same). Given that some of the values are the same, I suspect an addressing/fencepost/memory issue somewhere. Some additional details:
If the factory call is not made again, this behaviour is not seen (i.e. repeated calls to getAllCoefs() is not a problem)
When I run the following code:
I get
i.e. different results for the same file (when they should be the same). Given that some of the values are the same, I suspect an addressing/fencepost/memory issue somewhere. Some additional details:
factory
call is not made again, this behaviour is not seen (i.e. repeated calls togetAllCoefs()
is not a problem)C[0,:]
) is never corruptedIs this reproducible for others?
In this example,
coef1.txt
isThe text was updated successfully, but these errors were encountered: