Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to use .index_max() #1

Conversation

conradsnicta
Copy link

related to PR mlpack#3835

Copy link
Owner

@eddelbuettel eddelbuettel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This retains a warning. The point is to get rid of warnings as much as we can:

/home/edd/git/mlpack/src/mlpack/methods/perceptron/perceptron_impl.hpp:228:32: warning: unused variable ‘maxIndexCol’ [-Wunused-variable]
  228 |   arma::uword maxIndexRow = 0, maxIndexCol = 0;
      |                                ^~~~~~~~~~~

@conradsnicta
Copy link
Author

@eddelbuettel I'm bandwidth constrained, so feel free to edit this PR, or merge and adapt further as you see fit.

@eddelbuettel
Copy link
Owner

eddelbuettel commented Nov 22, 2024

so feel free to edit this PR,

GitHub usually indicates when I can, and this feature is on by default. I do not see it here. So in short: I can't.

@eddelbuettel
Copy link
Owner

The commit 9ed1f4b is now part of the PR 3835 so this is take care of.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants