diff --git a/modules/mol/base/pymod/export_entity_view.cc b/modules/mol/base/pymod/export_entity_view.cc index 66bd21c44c541d691ff3230c87ff58ece24d4de8..293401f1c16c211c1155b6f6008f714865a5e42b 100644 --- a/modules/mol/base/pymod/export_entity_view.cc +++ b/modules/mol/base/pymod/export_entity_view.cc @@ -86,7 +86,7 @@ void export_EntityView() Real (EntityView::*get_angle1)(const AtomHandle&, const AtomHandle&, const AtomHandle&) const = &EntityView::GetAngle; Real (EntityView::*get_angle2)(const AtomView&, const AtomView&, const AtomView&) const = &EntityView::GetAngle; - class_<EntityView, bases<EntityBase> >("EntityView", no_init) + class_<EntityView, bases<EntityBase> >("EntityView", init<>()) .def("Apply",apply1) .def("Apply",apply2) .def("Copy", &EntityView::Copy)