Skip to content

Commit

Permalink
better equality test
Browse files Browse the repository at this point in the history
  • Loading branch information
computron committed May 11, 2018
1 parent cc8882c commit a5a8efe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymatgen/analysis/local_env.py
Expand Up @@ -2788,7 +2788,7 @@ def transform_to_length(nndata, length):
length: (int) desired length of NNData
"""

if length == None:
if length is None:
return nndata

if length:
Expand Down

0 comments on commit a5a8efe

Please sign in to comment.