That was an annoying bug to find. Mark, I want a beer.

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@293 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
ebanks 2009-04-03 20:05:24 +00:00
parent 4eac3193f7
commit 2e89d5e46f
1 changed files with 2 additions and 1 deletions

View File

@ -398,7 +398,8 @@ public class GenomeLoc implements Comparable<GenomeLoc> {
}
public final boolean isPast( GenomeLoc that ) {
return this.compareContigs(that) == 1 || this.getStart() > that.getStop();
int comparison = this.compareContigs(that);
return ( comparison == 1 || ( comparison == 0 && this.getStart() > that.getStop() ));
}
public final void incPos() {