Itseez/opencv — pull request #3157 by PhilLab (2014-08-25 15:15:31+00:00)
Title: PnP solver: fixed element-wise access

Before the big PnP update, the data was stored row-first (n points in one single line). Now, the RansacCallback is used which stores column-first (one single point in n lines). This led to an [debug assertion failing](https://github.com/PhilLab/opencv/blob/pnpFix/modules/core/include/opencv2/core/mat.inl.hpp#L868-L870) (in release mode, the access did work correctly since). To fix this bug and to be storage-agnostic, we now use the single-paramenter element access (since in all cases we have either one row or one column).