aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/freeze_param.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/freeze_param.hpp b/core/freeze_param.hpp
index 6a4f309..f85c1a8 100644
--- a/core/freeze_param.hpp
+++ b/core/freeze_param.hpp
@@ -8,7 +8,7 @@
#include "fitter.hpp"
#include <vector>
#include <set>
-
+#include <algorithm>
namespace opt_utilities
{
/**
@@ -81,7 +81,7 @@ namespace opt_utilities
bool is_frozen(size_t i)const
{
- if(find(param_num.begin(),param_num.end(),i)==param_num.end())
+ if(std::find(param_num.begin(),param_num.end(),i)==param_num.end())
{
return false;
}