Skip to content

Commit

Permalink
import scala.language.implicitConversions
Browse files Browse the repository at this point in the history
  • Loading branch information
gstamatelat committed Jul 5, 2018
1 parent fd70b5f commit ea1e092
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions demo-scala/src/UnweightedStream.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import SamplingTraversableOnce._
import gr.james.sampling.{RandomSampling, WatermanSampling}

import scala.collection.JavaConverters._
import scala.language.implicitConversions

/**
* Extension of [[TraversableOnce]] with the <code>sample</code> method.
Expand Down
1 change: 1 addition & 0 deletions demo-scala/src/WeightedStream.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import WeightedSamplingTraversableOnce._
import gr.james.sampling.{ChaoSampling, WeightedRandomSampling}

import scala.collection.JavaConverters._
import scala.language.implicitConversions

/**
* Extension of [[TraversableOnce]] with the <code>sample</code> method.
Expand Down

0 comments on commit ea1e092

Please sign in to comment.