Skip to content

Commit

Permalink
Scala 2.11 cannot have case classes without ().
Browse files Browse the repository at this point in the history
  • Loading branch information
fnothaft committed Mar 1, 2017
1 parent 2451ba2 commit 7111420
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import org.apache.spark.rdd.RDD
import org.bdgenomics.adam.models.ReferenceRegion
import org.bdgenomics.formats.avro.{ Contig, Variant }

case class AdditiveLogisticGnocchiModel extends Serializable with GnocchiModel with Additive {
case class AdditiveLogisticGnocchiModel() extends Serializable with GnocchiModel with Additive {

var numSamples = List(("Empty List", 0)) //(VariantID, NumSamples)
var numVariants = 1
Expand Down Expand Up @@ -79,4 +79,4 @@ case class AdditiveLogisticGnocchiModel extends Serializable with GnocchiModel w
// save the model
// def save

}
}

0 comments on commit 7111420

Please sign in to comment.