Hi,
I downloaded the EnMAS example from
https://github.com/ConnorDoyle/EnMAS.git
However, an bug is reported for org.enmas.pomdp.State at Line 49
val clazz =
prototypeObject.getClass.asInstanceOf[java.lang.Class[T]]
for the reason:
type mismatch; found : prototypeObject.type (with underlying type T)
required: ?{val getClass: ?} Note
that implicit conversions are not applicable because they are
ambiguous: both method any2Ensuring in
object Predef of type [A](x: A)Ensuring[A] and method any2ArrowAssoc
in object Predef of type [A](x:
A)ArrowAssoc[A] are possible conversion functions from
prototypeObject.type to ?{val getClass: ?}
This is my first time look into this project and its implementation,
any quick fix for this bug?
Best Regards
Yours, Jiansen