Skip to content

Commit

Permalink
FIX copyright and more typing
Browse files Browse the repository at this point in the history
  • Loading branch information
dantegd committed Jan 31, 2025
1 parent a24ca13 commit 69df867
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/cuml/cuml/linear_model/logistic_regression_mg.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2023-2024, NVIDIA CORPORATION.
# Copyright (c) 2023-2025, NVIDIA CORPORATION.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -387,7 +387,7 @@ class LogisticRegressionMG(MGFitMixin, LogisticRegression):
qnpams,
<bool> self.standardization,
<int> self._num_classes,
<double*> &objective32,
<double*> &objective64,
<int*> &num_iters)
else:
assert self.index_dtype == np.int64, f"unsupported index dtype: {self.index_dtype}"
Expand All @@ -403,7 +403,7 @@ class LogisticRegressionMG(MGFitMixin, LogisticRegression):
qnpams,
<bool> self.standardization,
<int> self._num_classes,
<double*> &objective32,
<double*> &objective64,
<int*> &num_iters)

self.solver_model.objective = objective64
Expand Down

0 comments on commit 69df867

Please sign in to comment.