Revision 02609f56
utility/matrix.h | ||
---|---|---|
202 | 202 |
Matrix invert() const |
203 | 203 |
{ |
204 | 204 |
Matrix ret; |
205 |
float det = determinant();
|
|
205 |
double det = determinant();
|
|
206 | 206 |
|
207 | 207 |
for (int i = 0; i < N; i++) |
208 | 208 |
{ |
... | ... | |
217 | 217 |
} |
218 | 218 |
|
219 | 219 |
private: |
220 |
double _cell_data[N*N];
|
|
220 |
double _cell_data[N*N]; |
|
221 | 221 |
}; |
222 | 222 |
|
223 | 223 |
|
Also available in: Unified diff