diff options
author | Adrian Kummerlaender | 2014-09-27 18:35:16 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2014-09-27 18:35:16 +0200 |
commit | 5a1ee058e1c0f4e6f2a37f0c302671d73b66b0b7 (patch) | |
tree | ffe4063af7bd6689a9efa3569f33d2b785c71410 /src/utils.cc | |
parent | 1479b2ab1ae2e5a82ab6ac79663939ae651000fd (diff) | |
download | SimpleParser-5a1ee058e1c0f4e6f2a37f0c302671d73b66b0b7.tar SimpleParser-5a1ee058e1c0f4e6f2a37f0c302671d73b66b0b7.tar.gz SimpleParser-5a1ee058e1c0f4e6f2a37f0c302671d73b66b0b7.tar.bz2 SimpleParser-5a1ee058e1c0f4e6f2a37f0c302671d73b66b0b7.tar.lz SimpleParser-5a1ee058e1c0f4e6f2a37f0c302671d73b66b0b7.tar.xz SimpleParser-5a1ee058e1c0f4e6f2a37f0c302671d73b66b0b7.tar.zst SimpleParser-5a1ee058e1c0f4e6f2a37f0c302671d73b66b0b7.zip |
Removed line breaks from `dot` export and fixed naming error
* "doubleToString" converts a string to double, i.e. it should be named "stringToDouble"…
Diffstat (limited to 'src/utils.cc')
-rw-r--r-- | src/utils.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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<std::string> 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; |