function bel = set_timeslice_belief(bel, t, bnet)
% SET_TIMESLICE_BELIEF Move the belief domain to slice t, assuming it is currently at 1
% bel = change_timeslice_belief(bel, t, bnet)

ss = bnet.slice_size;
bel.domain = bel.domain + (t-1)*ss;
if strcmp(bel.type, 'cg')
  bel.cdom = intersect(bel.domain, bnet.cts_nodes);
  bel.ddom = intersect(bel.domain, bnet.discrete_nodes);
end
