aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2009-12-25 16:07:14 +0000
committerastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2009-12-25 16:07:14 +0000
commitfe2c7e6194e0d8dda9356e7d8514cc1089704325 (patch)
tree95f04853cd3df3a2c1e84e6276f0a657ce19b590
parent231e7f7334bd731b4a808d36d0c6a1e0ba395a71 (diff)
downloadopt-utilities-fe2c7e6194e0d8dda9356e7d8514cc1089704325.tar.bz2
git-svn-id: file:///home/svn/opt_utilities@105 ed2142bd-67ad-457f-ba7c-d818d4011675
-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;
}