Seq.range[Double](.0, 1.0 + step, step).foreach(current_degree_of_freedom => { ... }
(with step
a Double
).
The full error is :
Error:(39, 26) could not find implicit value for evidence parameter of type Integral[Double] Seq.range[Double](.0, 1.0 + step, step).foreach(current_degree_of_freedom => {
I have read the ScalaDoc ( http://www.scala-lang.org/api/2.12.3/scala/collection/Seq$.html#rangeT(implicitevidence$2:Integral[T]):CC[T] ), the problem comes from the 2nd curryied list of parameter.
But I don't understand the error... I thought it could be due to the absence of [Double]
just after Seq.range
, so I wrote it but it didn't solve the problem...
Anyone can explain me the problem please ?