Commit a65e99be authored by Rohan  Kumar's avatar Rohan Kumar
Browse files

"push"

parent 90c18bf9
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -51,6 +51,11 @@ public class PointSet {
        // get first NUM_REPS from pset for now, will make more efficient later
        for(int i = 0; i < NUM_REPS; i++){
            reps[i] = pset.iterator().next();

            // early exit if we have less than NUM_REPS points in the current object
            if(pset.isEmpty()){
                return;
            }
        }
    }

Loading