function pot = mk_pot_from_deterministic(bnode, bnet)
% MK_POT_FROM_DETERMINISTIC Make a potential from a deterministic node.
% pot = mk_pot_from_deterministic(bnode, bnet)

ns = bnet.node_sizes;
bnode.CPT = CPT_from_fn(bnode.fname, ns(bnode.parents), ns(bnode.self));
pot = mk_pot_from_tabular(bnode, bnet);

