Skip to content

Error using class: The CLASS function must be called from a class constructor. #86

@natalialora99

Description

@natalialora99

I was running the BNT package in Matlab R2022a and I got the following errors, I think it is due to an update in Matlab but I don't know how to fix it

Error in generic_CPD (line 8)
CPD = class(CPD, 'generic_CPD');

Error in discrete_CPD (line 6)
CPD = class(CPD, 'discrete_CPD', generic_CPD(clamped));

Error in tabular_CPD (line 150)
CPD = class(CPD, 'tabular_CPD', discrete_CPD(~CPD.adjustable, fam_sz));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions