Skip to content
This repository has been archived by the owner on Dec 23, 2020. It is now read-only.

Commit

Permalink
Bug fixes for k-means
Browse files Browse the repository at this point in the history
  • Loading branch information
shijianjian committed Jan 17, 2018
1 parent 260004a commit 87d42e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def cluster_point_cloud():
n_clusters = int(request.form['n_clusters'])
init = request.form['init']
precompute_distances = request.form['precompute_distances']
if precompute_distances is not 'auto':
if precompute_distances != 'auto':
if precompute_distances == 'true':
precompute_distances = True
elif precompute_distances == 'false':
Expand Down

0 comments on commit 87d42e2

Please sign in to comment.