|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r56512 - sandbox/numeric_adaptor/boost/numeric_adaptor
From: barend.gehrels_at_[hidden]
Date: 2009-10-02 11:11:15
Author: barendgehrels
Date: 2009-10-02 11:11:12 EDT (Fri, 02 Oct 2009)
New Revision: 56512
URL: http://svn.boost.org/trac/boost/changeset/56512
Log:
Bugfix in string constructor
Text files modified:
sandbox/numeric_adaptor/boost/numeric_adaptor/cln_value_type.hpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Modified: sandbox/numeric_adaptor/boost/numeric_adaptor/cln_value_type.hpp
==============================================================================
--- sandbox/numeric_adaptor/boost/numeric_adaptor/cln_value_type.hpp (original)
+++ sandbox/numeric_adaptor/boost/numeric_adaptor/cln_value_type.hpp 2009-10-02 11:11:12 EDT (Fri, 02 Oct 2009)
@@ -53,8 +53,9 @@
}
cln_value_type(std::string const& s)
- : cln_value_type(s.c_str())
+ : m_value(cln::cl_float(0.0, cln::float_format(256)))
{
+ m_value = s.c_str();
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk