aboutsummaryrefslogtreecommitdiffstats
path: root/distributions
diff options
context:
space:
mode:
authorastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2010-10-17 17:35:31 +0000
committerastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2010-10-17 17:35:31 +0000
commitacb9d6a8044dd86ff4dab9065b9ba13a7e06dc10 (patch)
tree77d62a8e7a271f48bc68ab9bf14a6430dde5954b /distributions
parent9fb6a64e135115b0af416a9b95afe7c7ff79380f (diff)
downloadopt-utilities-acb9d6a8044dd86ff4dab9065b9ba13a7e06dc10.tar.bz2
git-svn-id: file:///home/svn/opt_utilities@139 ed2142bd-67ad-457f-ba7c-d818d4011675
Diffstat (limited to 'distributions')
-rw-r--r--distributions/component.hpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/distributions/component.hpp b/distributions/component.hpp
index b595cab..ae7981c 100644
--- a/distributions/component.hpp
+++ b/distributions/component.hpp
@@ -93,7 +93,6 @@ namespace opt_utilities
{
param_info<optvec<T>,std::string> p1(std::string("_w")+smorder,w);
this->push_param_info(p1);
- //std::cout<<this->get_num_params()<<std::endl;
weight_num.push_back(this->get_num_params()-1);
}
@@ -103,13 +102,6 @@ namespace opt_utilities
param_info<optvec<T>,std::string> p(m.get_param_info(i));
param_info<optvec<T>,std::string> p1(p.get_name()+smorder,p.get_value());
this->push_param_info(p1);
- if(this->get_num_params()==1)
- {
- std::cout<<"origin:"<<p.get_value()<<std::endl;
- std::cout<<"self:"<<this->get_param_info(0).get_value()<<std::endl;
-
- }
- //std::cout<<this->get_num_params()<<std::endl;
}
}
@@ -129,9 +121,7 @@ namespace opt_utilities
for(int i=0;i<result.size();++i)
{
result[i]=result[i]*result[i];
- // std::cout<<result[i]<<"\t";
}
- // std::cout<<std::endl;
return result;
}
@@ -147,8 +137,6 @@ namespace opt_utilities
optvec<T> weight(convert_unit_sph(weight_angle));
int pnum=0;
- //std::cout<<param[2]<<"\t";
- //std::cout<<weight[0]<<"\t"<<weight[1]<<std::endl;
for(int i=0;i<components.size();++i)
{
T temp_result=0;