Skip to content

Added boolean to return statement for setMethodHelper - #225

Merged
arun3688 merged 1 commit into
OpenModelica:masterfrom
j-emils:master
Oct 17, 2024
Merged

Added boolean to return statement for setMethodHelper#225
arun3688 merged 1 commit into
OpenModelica:masterfrom
j-emils:master

Conversation

@j-emils

@j-emils j-emils commented Oct 17, 2024

Copy link
Copy Markdown
Contributor

Related Issues

Purpose

This adds a boolean to the return statement of setMethodHelper. The purpose is to give better information to the user when a parameter could not be set. The user can then decide to raise an Error.

Approach

Returns False if a parameter could not be set, otherwise True.

@arun3688
arun3688 merged commit 60f865d into OpenModelica:master Oct 17, 2024
@syntron syntron mentioned this pull request Sep 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants