aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2011-04-02 17:12:59 +0000
committerastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2011-04-02 17:12:59 +0000
commitdc12a14bc56072a711c82215d5c8213c2dcd5907 (patch)
treeefe021a2a1310e5bfc0e0d38d5da2650a671c700
parent83f8b6ea00b90959dacc2b61f263a54475a014bd (diff)
downloadopt-utilities-dc12a14bc56072a711c82215d5c8213c2dcd5907.tar.bz2
git-svn-id: file:///home/svn/opt_utilities@186 ed2142bd-67ad-457f-ba7c-d818d4011675
-rw-r--r--vmodels/quad_pl.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vmodels/quad_pl.hpp b/vmodels/quad_pl.hpp
index a6a1e57..a0a25a4 100644
--- a/vmodels/quad_pl.hpp
+++ b/vmodels/quad_pl.hpp
@@ -40,7 +40,7 @@ namespace opt_utilities
{
T a=get_element(param,0);
T b=get_element(param,1);
- T c=get_element(param,1);
+ T c=get_element(param,2);
return c*exp(a*log(x)*log(x)+b*log(x));
}