I am running my code with gcc. I have a function in which I declare a variable X1 which is initialized to 'inf'.
function(double nu, void *params) {
struct func_params *part= (struct func_params *)params;
double result;
*commands*
if (condition){
double wb,X1;
printf("inside if X1 %e \n",X1);
}
return result;
this code is returning "inside if X1 inf". I never had that issue and I didn't change anything to the code...Any idea what it could be?