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 was trying to invoke a constructor of a class MLNFactorGraph that is protected[MLNFactorGraph]. The compiler gave the following error:
error:typemismatch;
found : scala.runtime.StringAdd
required: edu.uulm.scbayes.mln.MLNFactorGraphvalsliceGraph:MLNFactorGraph=newMLNFactorGraph(
for the following code snippet:
valsliceGraph:MLNFactorGraph=newMLNFactorGraph(
newGraph.gpMap,
newGraph.fgpMap,
newFactors,
(newNodes ++ newFactors.flatMap(_.variables)).toSet.toSeq, //take all new variables and all variables that are adjacent to a used factor
newSignature
)
The file compiles when I comment out this section. The file compiles also, when I make the constructor of MLNFactorGraph public.
The involved files reside in different packages.
I was not able to reproduce this bug in a synthetic example.
The text was updated successfully, but these errors were encountered:
I was trying to invoke a constructor of a class MLNFactorGraph that is protected[MLNFactorGraph]. The compiler gave the following error:
for the following code snippet:
The file compiles when I comment out this section. The file compiles also, when I make the constructor of MLNFactorGraph public.
The involved files reside in different packages.
I was not able to reproduce this bug in a synthetic example.
The text was updated successfully, but these errors were encountered: