[system] / trunk / pg / lib / Value / Union.pm Repository:
ViewVC logotype

Diff of /trunk/pg/lib/Value/Union.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 5429 Revision 5430
251 if (($x + $y)->reduce->type ne 'Union') {$error = "uncombined intervals"; last} 251 if (($x + $y)->reduce->type ne 'Union') {$error = "uncombined intervals"; last}
252 } 252 }
253 $error = "overlaps" if !$error && $S->intersects($U); 253 $error = "overlaps" if !$error && $S->intersects($U);
254 $error = "uncombined sets" if !$error && $Sn > 1 && !$self->getFlag('reduceSets'); 254 $error = "uncombined sets" if !$error && $Sn > 1 && !$self->getFlag('reduceSets');
255 $error = "repeated elements in set" if !$error && !$S->isReduced; 255 $error = "repeated elements in set" if !$error && !$S->isReduced;
256 return $error ne "" unless $error && wantarray; 256 return $error eq "" unless $error && wantarray;
257 return (0,$error); 257 return (0,$error);
258} 258}
259 259
260# 260#
261# Sort a union lexicographically 261# Sort a union lexicographically

Legend:
Removed from v.5429  
changed lines
  Added in v.5430

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9