Commit 666d7f33 authored by Christophe Geuzaine's avatar Christophe Geuzaine

fix default sphere center

parent b119f711
Pipeline #1202 failed with stage
in 35 minutes 26 seconds
......@@ -8263,7 +8263,7 @@ yyreduce:
}
}
else{
int sphereCenter = 0;
int sphereCenter = -1;
if(List_Nbr((yyvsp[(7) - (8)].l)) == 1){
double d; List_Read((yyvsp[(7) - (8)].l), 0, &d);
sphereCenter = (int)d;
......
......@@ -1864,7 +1864,7 @@ Shape :
}
}
else{
int sphereCenter = 0;
int sphereCenter = -1;
if(List_Nbr($7) == 1){
double d; List_Read($7, 0, &d);
sphereCenter = (int)d;
......
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