danieljfarrell / pvtrace

Optical ray tracing for luminescent materials and spectral converter photovoltaic devices
Other
97 stars 94 forks source link

Deprecated numpy types #57

Open settwi opened 3 weeks ago

settwi commented 3 weeks ago

As of numpy 1.20 np.float and np.int are deprecated; in the past they were just aliases.

So those should be removed from the code (main code + tests)

via (e.g.):

grep -rl 'np.int' . | xargs sed -i 's/np.int/int/g'
grep -rl 'np.float' . | xargs sed -i 's/np.float/float/g'