diff --git a/trunk/ripnews/set/intspan.rb b/trunk/ripnews/set/intspan.rb index e8c3485..05faef9 100644 --- a/trunk/ripnews/set/intspan.rb +++ b/trunk/ripnews/set/intspan.rb @@ -1,4 +1,4 @@ -# $Dwarf: intspan.rb,v 1.17 2005/03/09 15:02:21 ward Exp $ +# $Dwarf: intspan.rb,v 1.18 2005/03/09 18:14:56 ward Exp $ # $Source$ # @@ -184,30 +184,6 @@ def _copy_run_list(runlist) return true end -# check for overlapping runs -# delete duplicate edges -def _cleanup - edges = @set["edges"] - - for i in (0..(edges.length-1)) - cmp = edges[i] <=> edges[i+1]; - begin - case cmp - when -1 - i = i + 1 - break - when 0 - edges.slice!(i..(i+1)) - break - when 1 - return 0 - end - end - end - - 1 -end - #def splice(array, offset, length=nil, list=[]) # if offset >= 0 # length = array.length-offset unless length @@ -930,7 +906,6 @@ end # module # [x] _copy_array # copies an array into a set # [ ] _copy_set # copies one set to another # [ ] _copy_run_list # parses a run list -# [ ] _cleanup # [x] run_list # [x] elements # [x] _real_set # converts a set specification into a set