← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 4026: Put brackets in the right place (thx Robert).

 

------------------------------------------------------------
revno: 4026
author: Bruno Chareyre <bruno.chareyre@xxxxxxxxxxxxxxx>
committer: GitHub <noreply@xxxxxxxxxx>
timestamp: Wed 2017-03-22 13:42:47 +0100
message:
  Put brackets in the right place (thx Robert).
modified:
  pkg/pfv/DFNFlow.cpp


--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'pkg/pfv/DFNFlow.cpp'
--- pkg/pfv/DFNFlow.cpp	2017-03-14 17:55:33 +0000
+++ pkg/pfv/DFNFlow.cpp	2017-03-22 12:42:47 +0000
@@ -208,7 +208,7 @@
 	RTriangulation::Facet_circulator facet1 = Tri.incident_facets(*edge);
 	RTriangulation::Facet_circulator facet0=facet1++;
 	trickPermeability(facet0, aperture,residualAperture, edge);
-	while ( facet1!=facet0 ) trickPermeability(facet1, aperture, residualAperture, edge); facet1++;
+	while ( facet1!=facet0 ) {trickPermeability(facet1, aperture, residualAperture, edge); facet1++;}
 	/// Needs the fracture surface for this edge?
 // 	double edgeArea = solver->T[solver->currentTes].computeVFacetArea(edge); cout<<"edge area="<<edgeArea<<endl;
 }