Skip to content

Add check for correct size of field NBOUND in CSTR#447

Merged
jbreue16 merged 1 commit intomasterfrom
fix/cstr_NBOUND_interface_exception
Jul 16, 2025
Merged

Add check for correct size of field NBOUND in CSTR#447
jbreue16 merged 1 commit intomasterfrom
fix/cstr_NBOUND_interface_exception

Conversation

@jbreue16
Copy link
Contributor

This PR adds a check for correct size of field NBOUND in CSTR, which is implemented in all the other units.
Not checking this can lead to undefined behaviour even when adsorption is correctly specified.

@jbreue16
Copy link
Contributor Author

@schmoelder do you have any objections? maybe some configurations will fail due to this, but i think its a bug

@schmoelder
Copy link
Contributor

@schmoelder do you have any objections? maybe some configurations will fail due to this, but i think its a bug

Absolutely not, good catch! 🤓

Note, there are some other instances where parameter checks could be improved to avoid issues, see #28

@github-project-automation github-project-automation bot moved this from Todo to In Progress in CADET Repositories Jul 15, 2025
@jbreue16 jbreue16 merged commit 6036cbe into master Jul 16, 2025
4 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in CADET Repositories Jul 16, 2025
@jbreue16 jbreue16 deleted the fix/cstr_NBOUND_interface_exception branch July 16, 2025 07:57
@github-actions github-actions bot locked and limited conversation to collaborators Jul 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants