Skip to content

Commit

Permalink
Use {} instead of () for CommaFormat defaults in unique_stream_writer
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveBronder committed Jan 5, 2024
1 parent 6892ccb commit 6b4932c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/stan/callbacks/unique_stream_writer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ class unique_stream_writer final : public writer {
/**
* Comma formatter for writing Eigen matrices
*/
Eigen::IOFormat CommaInitFmt(Eigen::StreamPrecision, Eigen::DontAlignCols,
", ", "", "", "\n", "", "");
Eigen::IOFormat CommaInitFmt{Eigen::StreamPrecision, Eigen::DontAlignCols,
", ", "", "", "\n", "", ""};

/**
* Output stream
Expand Down

0 comments on commit 6b4932c

Please sign in to comment.