[cctbxbb] match_indices.paired_miller_indices() ungraceful overshoot

James Stroud xtald00d at gmail.com
Sat Apr 6 00:51:35 PDT 2013


Actually, is i_array even necessary as an argument? It's not clear to me when the two alternate values for i_array will make a difference in the return value.

James


On Apr 6, 2013, at 1:44 AM, James Stroud wrote:

> Hello all,
> 
> I accidentally gave paired_miller_indices() a value > 1 for i_array, and got a segfault. The problem looks to be in match_indices.cpp, line 94:
> 
>       result.push_back(miller_indices_[i_array][pairs_[i][i_array]]);
> 
> Maybe there should be a test that raises an exception on the python side, if possible.
> 
> James

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://phenix-online.org/pipermail/cctbxbb/attachments/20130406/8dd36e4d/attachment.htm>


More information about the cctbxbb mailing list