function T = mk_max_table_from_tabular(bnode)
% MK_MAX_TABLE_FROM_TABULAR Make a tabular representation of the node's CPT
% T = mk_max_table_from_tabular(bnode)
%
% This essentially adds a table "wrapper" to the numerical entries in the CPT.
% This differs from mk_pot_from_tabular which sets ns(observed)=1, and create
% hybrid potentials.

fam = [bnode.parents bnode.self];
T = mk_max_table(fam, bnode.sizes);
T.T = bnode.CPT;
