Cppcheck: Fixed bug from last commit. Also added some new fixes

This commit is contained in:
heckflosse
2016-10-13 17:37:08 +02:00
parent 172ab63b85
commit 3625643392
13 changed files with 44 additions and 448 deletions

View File

@@ -245,7 +245,7 @@ void DiagonalCurve::NURBS_set ()
printf("sc_length[%zu/3]=%f \n", it, sc_length[it / 3]);
}
printf("NURBS diagonal curve: error detected!\n i=%d nbr_points=%d ppn=%d N=%d sc_length[i/3]=%f total_length=%f", i, nbr_points, ppn, N, sc_length[i / 3], total_length);
printf("NURBS diagonal curve: error detected!\n i=%u nbr_points=%d ppn=%d N=%d sc_length[i/3]=%f total_length=%f", i, nbr_points, ppn, N, sc_length[i / 3], total_length);
exit(0);
}