X-Git-Url: http://git.megacz.com/?p=anneal.git;a=blobdiff_plain;f=src%2Fedu%2Fberkeley%2Fqfat%2FMesh.java;h=3a53041e3ac10c6cb8af2d80ba8248a294a5c640;hp=e12407294024a003e76642844290f3b79739109d;hb=1cfea6e5d6ca9e75578e97d1fdccf2b306af56c4;hpb=14f962b26092736eed3d8bcfd2d5642c4be4e133 diff --git a/src/edu/berkeley/qfat/Mesh.java b/src/edu/berkeley/qfat/Mesh.java index e124072..3a53041 100644 --- a/src/edu/berkeley/qfat/Mesh.java +++ b/src/edu/berkeley/qfat/Mesh.java @@ -610,13 +610,9 @@ public class Mesh implements Iterable { } - public void bindingGroupChanged(BindingGroup newBindingGroup_) { - - BindingGroup newBindingGroup = (BindingGroup)newBindingGroup_; - if (newBindingGroup==null) return; - //if (this==newBindingGroup.getMaster()) return; + public void bindingGroupChanged() { HashSet nbg = new HashSet(); - for(E eother : (Iterable)newBindingGroup) nbg.add(eother); + for(E eother : (Iterable)getBoundPeers()) nbg.add(eother); for(E eother : nbg) { if (next==null || prev==null) continue; if (eother.next==null || eother.prev==null) continue;