fixed: label should be only at a statement and not a declaration

This commit is contained in:
Krishna Vedala 2020-05-29 14:09:04 -04:00
parent b1e1923580
commit 3b3775dce7

View File

@ -167,7 +167,7 @@ int main(int argc, char **argv)
double tol_condition = 1; double tol_condition = 1;
unsigned long iter = 0; unsigned long iter = 0;
clock_t start_time = clock(); clock_t end_time, start_time = clock();
while (!check_termination(tol_condition) && iter < INT_MAX) while (!check_termination(tol_condition) && iter < INT_MAX)
{ {
long double complex delta = 0; long double complex delta = 0;
@ -220,7 +220,7 @@ int main(int argc, char **argv)
} }
end: end:
clock_t end_time = clock(); end_time = clock();
#if defined(DEBUG) || !defined(NDEBUG) #if defined(DEBUG) || !defined(NDEBUG)
fclose(log_file); fclose(log_file);