You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have defined this case class:
case class P(n: String, d: Double, c: Array[Float] )
Doing this:
val v = P("test", 58.3, Array(5.2f,5.8f))
val encoded = v.pickle
val decoded = encoded.unpickle[P]
Throws an Exception:
scala.MatchError: scala.Array[scala.Float] (of class java.lang.String)
at scala.pickling.msgpack.MsgPackPickleReader.readPrimitive(package.scala:417)
The text was updated successfully, but these errors were encountered:
I have defined this case class:
case class P(n: String, d: Double, c: Array[Float] )
Doing this:
val v = P("test", 58.3, Array(5.2f,5.8f))
val encoded = v.pickle
val decoded = encoded.unpickle[P]
Throws an Exception:
scala.MatchError: scala.Array[scala.Float] (of class java.lang.String)
at scala.pickling.msgpack.MsgPackPickleReader.readPrimitive(package.scala:417)
The text was updated successfully, but these errors were encountered: