Skip to content

Remove symbolic recursion#859

Merged
OriRothClassiq merged 1 commit intomainfrom
Model/OriRothClassiq/remove-symbolic-recursion
Mar 10, 2025
Merged

Remove symbolic recursion#859
OriRothClassiq merged 1 commit intomainfrom
Model/OriRothClassiq/remove-symbolic-recursion

Conversation

@OriRothClassiq
Copy link
Member

PR Description

Remove symbolic recursion.

We're changing the way generative functions work. In particular, it would not be possible to define a recursive function using if_ (symbolic if-statement). I've replaced the symbolic if-statement with a Python if-statement.

Some notes

  • Please make sure that you placed the files in an appropriate folder

  • And that the files have indicative names.

  • Please note that Classiq runs automatic code linting, which may minorly alter some files.

    • If you're familiar with pre-commit, you may run pre-commit install, and then at each commit, your files will be altered in a similar way

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@OriRothClassiq OriRothClassiq merged commit 17cfbfd into main Mar 10, 2025
2 checks passed
@OriRothClassiq OriRothClassiq deleted the Model/OriRothClassiq/remove-symbolic-recursion branch March 10, 2025 12:28
@github-actions
Copy link

🚂 Great job, @OriRothClassiq! You've merged your 7th PR! 🎊

Your contributions to classiq-library are making a real difference. Keep up the fantastic work! 💪
Remember, every PR counts and helps improve the project. What will you tackle next? 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants