Skip to content

Commit 28c38b4

Browse files
committed
Fixed wrong reading of vector parameters in param file
1 parent 3b47e46 commit 28c38b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fast++-read_input.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ template <typename T>
2222
bool parse_value_impl(std::string val, vec<1,T>& out) {
2323
if (val.empty()) return true;
2424
val = remove_first_last(val, "[]");
25-
vec1s spl = split(val, ",");
25+
vec1s spl = trim(split(val, ","));
2626
return count(!from_string(spl, out)) == 0;
2727
}
2828

0 commit comments

Comments
 (0)