Skip to content

Commit

Permalink
trying better k setter
Browse files Browse the repository at this point in the history
  • Loading branch information
mzed committed Nov 16, 2023
1 parent 4c98a91 commit 5705548
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions source/projects/rapid.classification/rapid.classification.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class rapid_classification : public object<rapid_classification>
attribute<int> k { this, "k", 1,
description {"Number of neighbours to consider when classiftying"},
setter { MIN_FUNCTION {
std::cout << "k = " << std::endl;
classificationModels.setK(0, args[0]);
return args;
}}
};
Expand Down Expand Up @@ -352,7 +352,7 @@ class rapid_classification : public object<rapid_classification>
this, "maxclass_setup",
MIN_FUNCTION
{
cout << "rapid.classification v0.0.5" << c74::min::endl;
cout << "rapid.classification v0.0.7" << c74::min::endl;
cout << "by Sam Parke-Wolf, Martin Townley & Michael Zbyszynski" << c74::min::endl;
cout << "Copyright (c) 2021-2 Goldsmiths, University of London" << c74::min::endl;
return {};
Expand Down
2 changes: 1 addition & 1 deletion source/projects/rapid.regression/rapid.regression.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ class rapid_regression : public object<rapid_regression>
this, "maxclass_setup",
MIN_FUNCTION
{
cout << "rapid.regression v0.0.5" << c74::min::endl;
cout << "rapid.regression v0.0.7" << c74::min::endl;
cout << "by Sam Parke-Wolf, Martin Townley & Michael Zbyszynski" << c74::min::endl;
cout << "Copyright (c) 2021-2 Goldsmiths, University of London" << c74::min::endl;
return {};
Expand Down

0 comments on commit 5705548

Please sign in to comment.