Skip to content

Commit

Permalink
minor correction for failed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushsuhane committed Aug 11, 2018
1 parent 54c0700 commit 6678b59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/MDAnalysis/lib/distances.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ def _determine_method(reference, configuration, max_cutoff, min_cutoff=None,

if len(reference) < 10 or len(configuration) < 10:
return methods['bruteforce']
elif len(reference)*len(configuration) > 1e8:
elif len(reference)*len(configuration) >= 1e8:
# CAUTION : for large datasets, shouldnt go into 'bruteforce'
# in any case. Arbitrary number, but can be characterized
return methods['nsgrid']
Expand Down

0 comments on commit 6678b59

Please sign in to comment.