Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
soap-plus-plus
Commits
e45c2a68
Commit
e45c2a68
authored
May 22, 2017
by
Carl Poelking
Browse files
Npy float to index fix.
parent
4d33dbc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/soap/soapy/kernel.py
View file @
e45c2a68
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment