yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #12913
[Branch ~yade-pkg/yade/git-trunk] Rev 3962: fix wrong access to a Network::boundary by index
------------------------------------------------------------
revno: 3962
committer: bchareyre <bruno.chareyre@xxxxxxxxxxxxxxx>
timestamp: Wed 2016-11-02 16:14:59 +0100
message:
fix wrong access to a Network::boundary by index
modified:
lib/triangulation/Network.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/Network.ipp'
--- lib/triangulation/Network.ipp 2016-10-24 11:17:04 +0000
+++ lib/triangulation/Network.ipp 2016-11-02 15:14:59 +0000
@@ -108,7 +108,7 @@
{
double A [3], B[3];
- Boundary &bi1 = boundaries [SV1->info().id()];
+ Boundary &bi1 = boundary(SV1->info().id());
for (int m=0;m<3;m++) {A[m]= (SV2->point())[m];}
for (int m=0;m<3;m++) {B[m]= (SV3->point())[m];}