Skip to content

Commit afdb6d7

Browse files
authored
Merge pull request #4560 from janezd/is-with-literal
manifold.py: Remove 'is' with literal
2 parents aa2c6f7 + c096a13 commit afdb6d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Orange/projection/manifold.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def __call__(self, data):
135135
_X, Y, domain = data.X, data.Y, data.domain
136136
X = dist_matrix = self._metric(_X)
137137
dissimilarity = 'precomputed'
138-
elif self._metric is 'precomputed':
138+
elif self._metric == 'precomputed':
139139
dist_matrix, Y, domain = data, None, None
140140
X = dist_matrix
141141
dissimilarity = 'precomputed'

0 commit comments

Comments
 (0)