bug-libmatheval
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-libmatheval] Segmentation fault with 1.1.9


From: Evan Andersen
Subject: [bug-libmatheval] Segmentation fault with 1.1.9
Date: Fri, 19 Oct 2012 05:23:43 -0400

I can produce a segmentation fault in evaluator_evaluate() by entering the following input:

-5.45exp(-t/0.22)

However, adding a * between the constant and exp allows the code to run successfully. 

-5.45*exp(-t/0.22)

I check the output of evaluator_create(), and it does return a valid pointer in both instances. 

I have attached the code I was using to perform this test. (it's short)

--Evan

Attachment: mathtest.c
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]