expand_to_p1(SgOps, friedel_flag, in, out);
af::shared<Index> out_ = bpl_utils::as_base_array(out); expand_to_p1(SgOps, friedel_flag, in, out_); out.resize(af::make_flex_grid_1d(out_.size()));
  py_expand_to_p1_4(    sgtbx::SpaceGroup const& SgOps,    bool friedel_flag,    const af::shared<Index>& in,    af::shared<Index> out)  {    expand_to_p1(SgOps, friedel_flag, in, out);  }