Kickoman/kfunction

Bug in Function<T>::simplify()

Closed this issue · 0 comments

https://github.com/Kickoman/function-compiler/blob/51a4060ba62a939c319b407a0d48e7442aa8f0a4/kfunction/include/kfunction.h#L127

Seems not to work as expected. Test case:
(x-100)^3/100

Expected result:
(x-100)^3/100

Actual result:
0(x-100)^3/100