Skip to content

Issue 522 / 521 - #523

Merged
skeating merged 2 commits into
developmentfrom
issue-522
Nov 23, 2026
Merged

skeating merged 2 commits into
developmentfrom
issue-522

Conversation

@fbergmann

Copy link
Copy Markdown
Member

Description

This checks that a recursive function definitions don't segfault on getDerivedUnitDefintion
This also solves the serialization issue of a lambda without arguments

it does not change the issue of 522 with n-ary sums flattened to binary ones. For that perhaps an iterating AST node like in COPASI would be needed. Or (for now) as workaround a bigger stack size.

Motivation and Context

fixes #521
partially fixes #522

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Change in documentation

Checklist:

  • I have updated all documentation necessary.
  • I have checked spelling in (new) comments.

Testing

  • Testing is done automatically and codecov shows test coverage
  • This cannot be tested automatically

@fbergmann
fbergmann requested a review from skeating November 23, 2026 14:13
@fbergmann

Copy link
Copy Markdown
Member Author

the java test failures are again caused by the warning of the latest idk: ```42: WARNING: java.lang.System::loadLibrary has been called by org.sbml.libsbml.test.sbml.TestSBMLConstructorException in an unnamed module (file:/home/runner/work/libsbml/build/src/bindings/java/test/)


and that matches the Exception regex as fail condition. 

@skeating
skeating merged commit 0596914 into development Nov 23, 2026
33 of 35 checks passed
@skeating
skeating deleted the issue-522 branch November 23, 2026 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants