Problems with including math parser "exprtk"
Asked Answered
K

0

8

Instead of programming a math parser myself, I'm trying to implement the exprtk (exprtk) into my project. It works fine if I implement it in a console project. However, it fails in my CLR project. The error says "Debug Assertion Failed [...] Expression: _CrtlsValidHeapPointer(block) [...]". The error only occurs if I write the lines

parser<double> parser;

or

symbol_table<double> symbolTable;
symbolTable.add_constants();

Some internet sites say the _CrtlsValidHeapPointer expression error shows that a memory address is out of heap. But as the exprtk.hpp library works fine in a console application I assume there is another problem. Do you have an idea what the real problem could be?

Kinsman answered 4/11, 2015 at 22:32 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.