Skip to content

Commit 09755e9

Browse files
remove double assignment (#2703)
1 parent 7a159e2 commit 09755e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onedal/linear_model/logistic_regression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def _predict(self, X):
214214
return y
215215

216216
def _predict_proba(self, X):
217-
result = result = self._infer(X)
217+
result = self._infer(X)
218218
_, xp, _ = _get_sycl_namespace(X)
219219
y = from_table(result.probabilities, like=X)
220220
y = xp.reshape(y, -1)

0 commit comments

Comments
 (0)