Commit 791a25f6 authored by BRAMAS Berenger's avatar BRAMAS Berenger

patchs for clang

parent 31b55aaa
......@@ -385,7 +385,7 @@ private:
// truncated singular value decomposition of matrix
const unsigned int info = FBlas::gesvd(nnodes, nnodes, U, S, VT, nnodes, LWORK, WORK);
if (info!=0) throw std::runtime_error("SVD did not converge with " + info);
if (info!=0) throw std::runtime_error("SVD did not converge with " + std::to_string(info));
const unsigned int rank = this->getRank(S, Epsilon);
// store
......
......@@ -355,7 +355,7 @@ int main(int argc, char ** argv){
std::cout << " Number of Cells: " << idCell <<std::endl;
//
std::cout << "Top of the octree " << octreeIterator.level() << std::endl ;
for(int idxLevel = 1; idxLevel < TreeHeight ; ++idxLevel){
for(unsigned int idxLevel = 1; idxLevel < TreeHeight ; ++idxLevel){
file << std::endl << "$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$"<< std::endl;
file << " Level " << idxLevel <<" Level "<< octreeIterator.level()<< " -- leave level " << std::boolalpha << octreeIterator.isAtLeafLevel() << std::endl;
do{
......
......@@ -93,7 +93,7 @@ class TestSphericalDirect : public FUTester<TestSphericalDirect> {
Print("Number of particles:");
Print(nbParticles);
int idxLeafY = 0,idxLeafZ = 0 ;
//int idxLeafY = 0,idxLeafZ = 0 ;
std::cout << "\n ------ Loop starts ---"<< std::endl ;
for(int idxLeafX = 2 ; idxLeafX < dimGrid ; ++idxLeafX){
/*for(int idxLeafY = 0 ; idxLeafY < dimGrid ; ++idxLeafY)*/{
......
Markdown is supported
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