function pnodes = persistent_nodes(inter)
% PERSISTENT_NODES Find the nodes which have children in the following slice.
% pnodes = persistent_nodes(inter)

pnodes = [];
ss = length(inter);
for i=1:ss
  if ~isempty(children(inter, i))
    pnodes = [pnodes i];
  end
end
