Commit 4ee289af authored by Nassime BLIN's avatar Nassime BLIN
Browse files

Corrected error message

parent 0eb2fdf7
......@@ -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