Skip to content
Snippets Groups Projects
Commit 76abb0c2 authored by Marco Biasini's avatar Marco Biasini
Browse files

unbreak build

this is getting embarassing
parent fe4a508b
No related branches found
No related tags found
No related merge requests found
......@@ -65,6 +65,11 @@ ICSEditor depr_request_ics_editor(EntityHandle e, EditMode m)
#if OST_NUMPY_SUPPORT_ENABLED
bool less_index(const mol::AtomHandle& a1, const mol::AtomHandle& a2)
{
return a1.GetIndex()<a2.GetIndex();
}
PyObject* get_pos2(EntityHandle& entity, bool id_sorted)
{
npy_intp dims[]={entity.GetAtomCount(),3};
......@@ -95,10 +100,7 @@ PyObject* get_pos1(EntityHandle& entity)
return get_pos2(entity,true);
}
bool less_index(const mol::AtomHandle& a1, const mol::AtomHandle& a2)
{
return a1.GetIndex()<a2.GetIndex();
}
#endif
} // ns
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment