ianhinder / Kranc

A Mathematica package for generating code for solving time dependent partial differential equations
http://kranccode.org
GNU General Public License v2.0
29 stars 10 forks source link

MatrixInverse causes segfault #56

Open barrywardell opened 12 years ago

barrywardell commented 12 years ago

If the MatrixInverse function is used on a symbol which has not been defined as a tensor, then it will cause Mathematica to segfault. I encountered this problem with version 8.0.4 of Mathematica using:

MatrixInverse[g[ua,ub]]

This sounds like a Mathematica bug, but should probably be worked around anyway to provide a better error message.