You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (selection.ranges().empty() || dset.getElementCount() == 0) {
The question is should a non-empty selection of an empty dataset return an empty vector, or should it throw, since we've not returned the requested element? One possible answer is that it's fine since they're all out-of-range and we ignore anything out of range in edge_index too. However, I think that prior to 70559bc out-of-bounds selections would have been an exception for this particular routine.
The text was updated successfully, but these errors were encountered:
I'm looking at:
libsonata/src/population.hpp
Line 95 in f65a0ae
The question is should a non-empty selection of an empty dataset return an empty vector, or should it throw, since we've not returned the requested element? One possible answer is that it's fine since they're all out-of-range and we ignore anything out of range in
edge_index
too. However, I think that prior to 70559bc out-of-bounds selections would have been an exception for this particular routine.The text was updated successfully, but these errors were encountered: