ru-ccmt / eDMFT

Haule's Repository for combination of Density Functional Theory and Embedded Dynamical Mean Field Theory implementation (Python3 version)
Other
16 stars 2 forks source link

min function shadowed by np.min due to from numpy import * #6

Open jonas-phys opened 1 week ago

jonas-phys commented 1 week ago

There seems to be an issue occuring in the Python3 branch due to the from numpy import * overwriting the intrinsic python min function. E.g. in src/atom_d/atom_d.py line 2081 the min(len(Enes[ii]), max_M_size) throws an error in the MnO example as the numpy function is called and not the intrinsic one.