Skip to content

Commit

Permalink
Add explicit namespace qualification for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
Dylan Harries committed Feb 24, 2017
1 parent 088f829 commit 3b7ed1b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions test/test_CMSSM_model.cpp
Expand Up @@ -22,28 +22,28 @@ void OrderAccordingTo(DoubleVector& m, DoubleMatrix& z, const DoubleMatrix& ref)
const int size = rows * cols;

if (cols != 3) {
cout << "<OrderAccordingTo> Error: reference vector dose not have"
" 2 columns" << endl;
std::cout << "<OrderAccordingTo> Error: reference vector dose not have"
" 2 columns" << std::endl;
return;
}
if (rows != 2) {
cout << "<OrderAccordingTo> Error: reference vector dose not have"
" 3 rows" << endl;
std::cout << "<OrderAccordingTo> Error: reference vector dose not have"
" 3 rows" << std::endl;
return;
}
if (m.displayStart() != 1) {
cout << "<OrderAccordingTo> Error: mass vector dose not begin"
" at index 1" << endl;
std::cout << "<OrderAccordingTo> Error: mass vector dose not begin"
" at index 1" << std::endl;
return;
}
if (m.displayEnd() != size) {
cout << "<OrderAccordingTo> Error: mass vector dose not end"
" at index " << size << endl;
std::cout << "<OrderAccordingTo> Error: mass vector dose not end"
" at index " << size << std::endl;
return;
}
if (z.displayCols() != size || z.displayCols() != size) {
cout << "<OrderAccordingTo> Error: mixing matrix dose not have"
" " << size << " rows or cols" << endl;
std::cout << "<OrderAccordingTo> Error: mixing matrix dose not have"
" " << size << " rows or cols" << std::endl;
return;
}

Expand Down

0 comments on commit 3b7ed1b

Please sign in to comment.