Skip to content
Snippets Groups Projects
Commit b99f89f0 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix post-incrementation of News++

parent b7df6f33
Branches
No related tags found
No related merge requests found
......@@ -130,7 +130,8 @@ Return
////////
Function DefLoop_
current_numSurface=News++; Line Loop(current_numSurface) = current_loop[];
News++;
current_numSurface=News; Line Loop(current_numSurface) = current_loop[];
Return
////////
......@@ -254,7 +255,7 @@ If (flagTransfinite)
Transfinite Line {l_[2]} = nxDivs+1 Using Progression 1./valProgressionX;
EndIf
If (flag_DefSurface)
Transfinite Surface {current_numSurface} = {p_[0],p_[1],p_[2],p_[3]};
Transfinite Surface {current_numSurface} = {p_[0],p_[1],p_[2],p_[3]};
If (flagRecombine) Recombine Surface {current_numSurface}; EndIf
EndIf
EndIf
......@@ -321,7 +322,7 @@ vector_size_ = #vector[];
Printf("Vector: size: %g", vector_size_);
For i In {0:vector_size_-1}
Printf(" %g", vector[i]);
EndFor
EndFor
Return
/* use e.g.:
vector[]=yourlist[]; Call PrintVector;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment