Skip to content

Update CRunDec to v3.1.1#23

Open
DavidMStraub wants to merge 2 commits into
masterfrom
rundec_311
Open

Update CRunDec to v3.1.1#23
DavidMStraub wants to merge 2 commits into
masterfrom
rundec_311

Conversation

@DavidMStraub

Copy link
Copy Markdown
Owner

Fixes #22. (?)

This is quite a mess. Although the version number suggests a patch release, signatures of functions were changed and a type was removed. My friendly AI had to add all kind of scary looking stuff to the .i file. Now tests pass...

@peterstangl @Herren FYI

Comment thread README.md

1. Replace the CRunDec source files in the `CRunDec3/` directory with the new version, renaming them to `CRunDec.cpp` and `CRunDec.h`

2. Update `setup.py` to reference the correct source files

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess after renaming the files in the previous step, this might not be necessary?

@mfael86

mfael86 commented Feb 4, 2026

Copy link
Copy Markdown
Contributor

When updating to 3.1, I changed several types in CRunDec.cpp to ensure compatibility with SWIG. Probably, one needs to patch version 3.1.1 again or implement my changes in the new version of RunDec

@DavidMStraub

Copy link
Copy Markdown
Owner Author

Oh, I see. In this PR, the .i file was modified instead.

@DavidMStraub

Copy link
Copy Markdown
Owner Author

Managed to fix the windows build.

So tests are passing in CI now.

Whether this is good enough to merge - 🤷‍♂️ can't say I fully understand the changes.

@Herren

Herren commented Feb 11, 2026

Copy link
Copy Markdown

v.3.1.2 is on the TTP webpage as well as here.
We probably should discuss a long-term strategy for this whole business eventually.

@DavidMStraub

Copy link
Copy Markdown
Owner Author

Great!

Would be happy to retire or donate this repo eventually 🙂

@DavidMStraub

Copy link
Copy Markdown
Owner Author

What do you guys think, should we merge this?

@DavidMStraub

DavidMStraub commented Mar 11, 2026

Copy link
Copy Markdown
Owner Author

Hey guys, I vibe coded a partial port of RunDec to JAX:
https://github.com/DavidMStraub/rundex

It contains all the functions currently used in flavio or wilson. The compiled versions are as fast as CRunDec; plus, they are auto-differentiable. 🤖

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.

New version 3.1.1 of CRunDec available

4 participants