Skip to content

1422 investigation - #1492

Merged
luciansmith merged 4 commits into
fix/jit-crt-math-symbolsfrom
1422-investigation
Dec 3, 2026
Merged

luciansmith merged 4 commits into
fix/jit-crt-math-symbolsfrom
1422-investigation

Conversation

@luciansmith

Copy link
Copy Markdown

No description provided.

matthiaskoenig and others added 4 commits November 25, 2026 23:42
Add complete Python API typing and ty checks
We still hard-code a bunch of things that SWIG can't generate yet, but we generate what we can, which makes this approach more future-proof.  Generation is from 'complete_stub.py'.

Other fixes/changes:
* Slicing now keeps row/column names, as does vstack/hstack/concatenate.  If the labels conflict, that's an error; if one is there and the other is missing, we perform the join and un-label the result.
* More variants of python types can now be used in our functions.  Among other things, this fixes #1301.
* 'long' -> 'long long' is now correct.
* Requires new rr-libstruct, with zero-sized matrices now not causing crashes.
* Also, a bunch of skipped python tests are now unskipped.  Among other things, this involved adding new 'get' functions for getBoundary, getConstant, getReversible, getPersistent, and getTriggerInitialValue.
* setConstant now works on species references.
* Loading a document with no model no longer crashes; it throws or adds an empty model appropriately.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018BCWJVGVzVqYawshjJodZN
@luciansmith luciansmith closed this Dec 3, 2026
@luciansmith luciansmith reopened this Dec 3, 2026
@luciansmith
luciansmith merged commit aaa116c into fix/jit-crt-math-symbols Dec 3, 2026
30 of 67 checks passed
@luciansmith
luciansmith deleted the 1422-investigation branch December 3, 2026 19:53
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