Skip to content

Commit

Permalink
Merge pull request #3 from corecursion/main
Browse files Browse the repository at this point in the history
Fixed compilation of parseToMatrixColumnMajor() in VS.
  • Loading branch information
ashaduri authored Dec 19, 2023
2 parents 39398ab + dc33246 commit ac57c13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csv_parser/csv_parser.h
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ constexpr MatrixInformation Parser::parseToMatrixColumnMajor(std::string_view da
parsed_values.resize((column + 1) * rows);
}
using Number = typename Vector::value_type;
parsed_values[info.matrixIndex(row, column)] = readNumber<Number>(cell_data).template value_or(std::numeric_limits<Number>::quiet_NaN());
parsed_values[info.matrixIndex(row, column)] = readNumber<Number>(cell_data).value_or(std::numeric_limits<Number>::quiet_NaN());
}
);
std::swap(values, parsed_values);
Expand Down

0 comments on commit ac57c13

Please sign in to comment.