Skip to content

Commit f6a87b8

Browse files
committed
(problib) improve test output
1 parent e906f81 commit f6a87b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

problib/src/test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ void test() {
148148
for (int i = 0; i < 1000; ++i) {
149149
d = mix2.getLikelihood(exact2);
150150
}
151-
cout << "Density of mixture at " << mean2 << " = " << d << endl << endl;
151+
cout << "Density of mixture at:\n" << mean2 << " = " << d << endl << endl;
152152

153153
cout << "Converting to msg ..." << endl << endl;
154154
problib_msgs::PDF pdf_msg;
@@ -159,7 +159,7 @@ void test() {
159159
PDF* received_pdf = pbl::msgToPDF(pdf_msg);
160160
cout << "Result:" << endl << received_pdf->toString() << endl << endl;
161161

162-
cout << "Density of mixture at " << mean2 << " = " << received_pdf->getLikelihood(exact2) << endl << endl;
162+
cout << "Density of mixture at:\n" << mean2 << " = " << received_pdf->getLikelihood(exact2) << endl << endl;
163163

164164
delete received_pdf;
165165

0 commit comments

Comments
 (0)