projects
/
anneal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
checkpoint i think it works!
[anneal.git]
/
src
/
edu
/
berkeley
/
qfat
/
geom
/
BindingGroup.java
diff --git
a/src/edu/berkeley/qfat/geom/BindingGroup.java
b/src/edu/berkeley/qfat/geom/BindingGroup.java
index
aec9329
..
5f6bf2b
100644
(file)
--- a/
src/edu/berkeley/qfat/geom/BindingGroup.java
+++ b/
src/edu/berkeley/qfat/geom/BindingGroup.java
@@
-12,6
+12,8
@@
public class BindingGroup<T extends HasBindingGroup> implements Iterable<T> {
matrices.put(master, Matrix.ONE);
}
+ public int size() { return matrices.size(); }
+
public void merge(BindingGroup<T> bg, Matrix m) {
if (bg==this) throw new Error();
for(HasBindingGroup hbg : bg.matrices.keySet()) {