375745 (2) [Avatar] Offline
#1
Hi!
I've imported both types of Uniform elements (discrete and continuous) and when I want to create a Uniform element the compiler is confused.

scala> val sunnyTodayProbability = Uniform(0,0.5)
<console>:17: error: reference to Uniform is ambiguous;
it is imported twice in the same scope by
import com.cra.figaro.library.atomic.discrete.Uniform
and import com.cra.figaro.library.atomic.continuous.Uniform
val sunnyTodayProbability = Uniform(0,0.5)

How can I cancel an import statement or else make the command work?
Thanks!
Roxana