Commit e45c2a68 authored by Carl Poelking's avatar Carl Poelking
Browse files

Npy float to index fix.

parent 4d33dbc1
......@@ -392,7 +392,7 @@ class KernelAdaptorSpecific(object):
self.S = len(types_global)
return
def adapt(self, spectrum):
IX = np.zeros((0.,0.), dtype='float64')
IX = np.zeros((0,0), dtype='float64')
dimX = -1
for atomic_i in spectrum:
Xi_unnorm, Xi_norm = self.adaptScalar(atomic_i)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment