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

Kranc does not check that parameter names are identifiers #102

Open eschnett opened 10 years ago

eschnett commented 10 years ago

I accidentally set

alpha=1;

before defining a parameter "alpha". The generated code was wrong; param.ccl contained the line

CCTK_REAL 1

Kranc should check that parameter names are identifiers.