X-Git-Url: http://git.megacz.com/?p=sbp.git;a=blobdiff_plain;f=src%2Fedu%2Fberkeley%2Fsbp%2Futil%2FIntegerTopology.java;h=cac19e9b19676da56eb8ec7fde15d15c2be445b5;hp=e9f01dfc4428ed36b90b0e792a16ca6f680bb695;hb=87f214f3da9f43c3ab93923313845c372f9a96be;hpb=0a0227b9180534d2a431f3d6e08a398bde2244c4
diff --git a/src/edu/berkeley/sbp/util/IntegerTopology.java b/src/edu/berkeley/sbp/util/IntegerTopology.java
index e9f01df..cac19e9 100644
--- a/src/edu/berkeley/sbp/util/IntegerTopology.java
+++ b/src/edu/berkeley/sbp/util/IntegerTopology.java
@@ -9,8 +9,8 @@ import edu.berkeley.sbp.*;
/** implementation of Topology for any class for which there is a mapping to the ints */
public class IntegerTopology implements Topology {
private final Range.Set rs;
-
- public Range.Set getRanges() { return rs; /*FIXME: copy?*/ }
+
+ public Range.Set getRanges() { return new Range.Set(rs); }
public IntegerTopology() { this(new Range.Set()); }
public IntegerTopology(V v) { this(v.toInt()); }