From dc12a14bc56072a711c82215d5c8213c2dcd5907 Mon Sep 17 00:00:00 2001 From: astrojhgu Date: Sat, 2 Apr 2011 17:12:59 +0000 Subject: git-svn-id: file:///home/svn/opt_utilities@186 ed2142bd-67ad-457f-ba7c-d818d4011675 --- vmodels/quad_pl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } -- cgit v1.2.2