Commit f5cc1656 authored by Florent Lamiraux's avatar Florent Lamiraux
Browse files

Merge pull request #9 from nassimeblinlaas/master

Corrected error message
parents 0eb2fdf7 4ee289af
......@@ -309,10 +309,10 @@ namespace hpp {
{
for (unsigned int i=0; i<dimension; ++i) {
if (!isBounded (i)) {
std::ostringstream iss
("Cannot uniformly sample non bounded translation degrees of "
"freedom at rank ");
iss << index + i;
std::ostringstream iss;
iss << "Cannot uniformly sample non bounded translation degrees of ";
iss << "freedom at rank ";
iss << index + i;
throw std::runtime_error (iss.str ());
}
else {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment