IKBT
IKBT copied to clipboard
Syntax error in generated cpp code.
output_cpp.py contains the following code on line 106:
tmp += 'double '+str(p) + ' = XXXXX ; \\ deliberate undeclared error! USER needs to give numerical value\n'
This should instead read:
tmp += 'double '+str(p) + ' = XXXXX ; // deliberate undeclared error! USER needs to give numerical value\n'
As it is, the generated cpp code will not parse, because of the backslashes. The above fix retains the intentional undeclared error.
Can't post pull requests, or I'd fix it myself ;-)
pull request welcome. I've added you as a collab.