Skip to content

Commit

Permalink
Updated some disabled debugging code to use correct variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
fra99le committed May 23, 2019
1 parent f5a402e commit e927598
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bounding.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,10 @@ int bounds_list_optimal(bounds_list *list, vectNd *centroid, double *radius) {
}

#if 0
if( initial_radius != *radius ) {
if( initial_radius != curr_radius ) {
printf("\n%s: initial radius: %g\n", __FUNCTION__, initial_radius);
printf("%s: final radius: %g\n", __FUNCTION__, *radius);
printf("%s: change: %g%%\n", __FUNCTION__, 100.0 * (initial_radius-*radius) / initial_radius);
printf("%s: final radius: %g\n", __FUNCTION__, curr_radius);
printf("%s: change: %g%%\n", __FUNCTION__, 100.0 * (initial_radius-curr_radius) / initial_radius);
}
#endif /* 0 */

Expand Down

0 comments on commit e927598

Please sign in to comment.