From 5a1ee058e1c0f4e6f2a37f0c302671d73b66b0b7 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 27 Sep 2014 18:35:16 +0200 Subject: Removed line breaks from `dot` export and fixed naming error * "doubleToString" converts a string to double, i.e. it should be named "stringToDouble"… --- src/utils.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils.cc') diff --git a/src/utils.cc b/src/utils.cc index 832b701..256cad8 100644 --- a/src/utils.cc +++ b/src/utils.cc @@ -195,7 +195,7 @@ std::vector lexer(const std::string& term) { return resultBuffer; } -double doubleToString(const std::string& str) { +double stringToDouble(const std::string& str) { double value; std::istringstream convertStream(str); convertStream >> value; -- cgit v1.2.3