Skip to content

Commit

Permalink
prComment
Browse files Browse the repository at this point in the history
  • Loading branch information
vberthiaume committed Jan 16, 2025
1 parent 0e1b723 commit 739f4c3
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions include/puara/descriptors/brushRub.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,18 +90,10 @@ class ValueIntegrator
/**
* @brief Ties the feature to an external value.
* @param new_tie Pointer to the external value to tie the feature to.
* @return True if the tie was successful; false if `new_tie` is null.
*/
bool tie(double* new_tie)
void tie(double& new_tie)
{
if(new_tie == nullptr)
{
assert(false && "tied_value cannot be null!");
return false;
}

tied_data = new_tie;
return true;
tied_data = &new_tie;
}

protected:
Expand Down

0 comments on commit 739f4c3

Please sign in to comment.