Skip to content

Commit

Permalink
fixbug: there is a ',' before 'quantile=' when labels is empty (#2659)
Browse files Browse the repository at this point in the history
Co-authored-by: Renzhong Zhang <renzhong915@gmail.com>
  • Loading branch information
renzhong and Renzhong Zhang authored Jun 10, 2024
1 parent 556e56b commit f8558b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bvar/multi_dimension_inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ void MultiDimension<T>::make_labels_kvpair_string(std::ostream& os,
comma[0] = ',';
}
if (quantile > 0) {
os << ",quantile=\"" << quantile << "\"";
os << comma << "quantile=\"" << quantile << "\"";
}
os << "}";
}
Expand Down

0 comments on commit f8558b0

Please sign in to comment.