Commit 2da4c89d authored by Davis King's avatar Davis King

Added a missing const. Its absence was causing a compile time error.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403761
parent 65c1551a
...@@ -64,7 +64,7 @@ namespace dlib ...@@ -64,7 +64,7 @@ namespace dlib
} }
bool will_estimate_lambda_for_regression ( bool will_estimate_lambda_for_regression (
) ) const
{ {
return use_regression_loss; return use_regression_loss;
} }
......
...@@ -181,7 +181,7 @@ namespace dlib ...@@ -181,7 +181,7 @@ namespace dlib
!*/ !*/
bool will_estimate_lambda_for_regression ( bool will_estimate_lambda_for_regression (
); ) const;
/*! /*!
ensures ensures
- returns true if the automatic lambda estimation will attempt to estimate a lambda - returns true if the automatic lambda estimation will attempt to estimate a lambda
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment