← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 3534: Fix probably a wrong using of if-condition.

 

------------------------------------------------------------
revno: 3534
committer: Anton Gladky <gladky.anton@xxxxxxxxx>
timestamp: Mon 2014-11-17 14:00:10 +0100
message:
  Fix probably a wrong using of if-condition.
modified:
  lib/triangulation/FlowBoundingSphere.ipp


--
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 'lib/triangulation/FlowBoundingSphere.ipp'
--- lib/triangulation/FlowBoundingSphere.ipp	2014-11-17 12:50:58 +0000
+++ lib/triangulation/FlowBoundingSphere.ipp	2014-11-17 13:00:10 +0000
@@ -482,7 +482,7 @@
 void FlowBoundingSphere<Tesselation>::setBlocked(CellHandle& cell)
 {
 	RTriangulation& Tri = T[currentTes].Triangulation();
-	if (cell->info().Pcondition=true) cell->info().p() = 0;
+	if (cell->info().Pcondition) cell->info().p() = 0;
 	else blockedCells.push_back(cell);
 	for (int j=0; j<4; j++) {
 		(cell->info().kNorm())[j]= 0;