summaryrefslogtreecommitdiff
path: root/gi/pf/base_distributions.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gi/pf/base_distributions.cc')
-rw-r--r--gi/pf/base_distributions.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gi/pf/base_distributions.cc b/gi/pf/base_distributions.cc
index d9761005..57e0bbe1 100644
--- a/gi/pf/base_distributions.cc
+++ b/gi/pf/base_distributions.cc
@@ -37,7 +37,7 @@ TableLookupBase::TableLookupBase(const string& fname) {
} else if (cc == 1) {
x.e_.push_back(cur);
} else if (cc == 2) {
- table[x].logeq(atof(TD::Convert(cur)));
+ table[x].logeq(atof(TD::Convert(cur).c_str()));
++cc;
} else {
if (flag) cerr << endl;