Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash with replace_ and nested functions #106

Closed
manteuffel opened this issue Jun 23, 2016 · 1 comment
Closed

Crash with replace_ and nested functions #106

manteuffel opened this issue Jun 23, 2016 · 1 comment
Labels
bug Something isn't working

Comments

@manteuffel
Copy link

Hi,

I would like to report a minor issue with replace_. I encounter a program termination when trying to execute the following piece of code:

cfunction prop, mom;
vector q1, q2, k1, k2, p;

l test =  prop(mom(-q1-q2+p));
multiply replace_(q1,k1-k2);
print+s;
.sort
multiply replace_(q2,k2);
print+s;
.end

Without the mom(), the program works fine. Also, if I join the replacements into a single replace_, no problem occurs. Tested with 9720d7f .

Thank you very much for providing and maintaining Form.

Best regards,
Andreas

@tueda
Copy link
Collaborator

tueda commented Jun 27, 2016

Just for information: this bug was introduced in 8ee418f.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants