Skip to content

Commit

Permalink
Merge pull request #637 from MarcosPividori/master
Browse files Browse the repository at this point in the history
Fix a mistake in metric policy.
  • Loading branch information
rcurtin committed May 12, 2016
2 parents d502539 + 27ebca1 commit 1f562a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/policies/trees.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ tree building and other operations:
// This function is required by the MetricType policy.
// Evaluate the metric between two points (which may be of different types).
template<typename VecTypeA, typename VecTypeB>
void Evaluate(VecTypeA& a, VecTypeB& b);
double Evaluate(const VecTypeA& a, const VecTypeB& b);
@endcode
Note that this method is not necessarily static, so a \c MetricType object
Expand Down

0 comments on commit 1f562a1

Please sign in to comment.