Skip to content

Commit 73b3344

Browse files
committed
Added type bounds to predictive distribution in ContinuousProcess
1 parent bd6f09a commit 73b3344

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dynaml-core/src/main/scala-2.11/io/github/mandar2812/dynaml/models/StochasticProcess.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ under the License.
1919
package io.github.mandar2812.dynaml.models
2020

2121
import io.github.mandar2812.dynaml.kernels.CovarianceFunction
22+
import io.github.mandar2812.dynaml.probability.{ContinuousRandomVariable, RandomVariable}
2223
import org.apache.log4j.Logger
2324

2425
/**
@@ -97,7 +98,7 @@ trait SecondOrderProcess[T, I, Y, K, M, W] extends StochasticProcess[T, I, Y, W]
9798
* [[io.github.mandar2812.dynaml.models.stp.StudentTRegression]] and others.
9899
*
99100
*/
100-
abstract class ContinuousProcess[T, I, Y, W] extends StochasticProcess[T, I, Y, W] {
101+
abstract class ContinuousProcess[T, I, Y, W <: ContinuousRandomVariable[_]] extends StochasticProcess[T, I, Y, W] {
101102

102103
private val logger = Logger.getLogger(this.getClass)
103104

0 commit comments

Comments
 (0)