> Yichao and DPSanders, I have already used instances of Factor on runtests.jl, > instances A, B, and C
AFAICT you are still accessing a non existing field of a type[1] and it's unclear what you actually want to do. [1] https://github.com/hpoit/MLN.jl/blob/1c13725666f34587e57c4a1757e6222cacaeab73/BN/src/FactorOperations.jl#L87 > > A=Factor(["a", "b"],[3, 2],[0.5, 0.1, 0.3, 0.8, 0, 0.9]) > B=Factor(["b", "c"],[2, 2],[0.5, 0.1, 0.7, 0.2]) > C = FactorProduct(A, B) > FactorDropMargin(C, ["c"]) > > Do you recommend I make any of the functions in FactorOperations.jl into > inner constructors of `type Factor` in Factor.jl?