mcneel/rhinocommon — Issue #69: Matrix inversion failure
Author: dalefugier
Created: 2011-11-17 17:26:31+00:00
State: open
Labels: bug

I'm getting an exception re corrupt memory when attempting to do a simple
matrix inversion call from a RhinoCommand plugin using RhinoCommon.

Matrix m = new Matrix(3, 3);
m[0, 0] = 1;
m[0, 1] = 3;
m[0, 2] = 3;
m[1, 0] = 1;
m[1, 1] = 4;
m[1, 2] = 3;
m[2, 0] = 1;
m[2, 1] = 3;
m[2, 2] = 4;
m.Invert(0);