Not able to access mat.at(row: 1, col: 2)

Hi Berak,
thank you so much for your reply.

I am using swift language.
initialzation is

let mat = MatOfFloat()
Calib3d.Rodrigues(src: rotationVec, dst: mat)

and it is compile time error