Oops, killed contracts

This commit is contained in:
Eric Banks 2012-10-19 13:04:05 -04:00
parent 9c088fe3fe
commit 4622896312
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ import com.google.java.contract.Requires;
* @param base base
* @return the proportion of this base over all other bases except indels
*/
@Requires("index.isNucleotide()")
@Requires("base.isNucleotide()")
@Ensures({"result >=0.0", "result<= 1.0"})
public double baseCountProportionWithoutIndels(final BaseIndex base) {
final int total = totalCountWithoutIndels();