Skip to content

Conversation

@ondras12345
Copy link
Contributor

Previously, the flags supplied by the user in simflags would get appended to automatically generated flags without a space in a call like this:

(A, B, C, D) = mod.linearize(simflags="-r=file.mat")

A workaround is to start simflags with a space:

(A, B, C, D) = mod.linearize(simflags=" -r=file.mat")

This PR removes the need for the workaround.

@arun3688
Copy link
Collaborator

arun3688 commented Apr 6, 2025

@ondras12345 can you please sign the license/cla

@ondras12345
Copy link
Contributor Author

I have already done that when I was submitting #242. I see that the licese/cla check has passed, too. Do I need to do it for each PR separately? If so, how? Last time, the CLAassistant bot sent me a link.

@lochel
Copy link
Member

lochel commented Apr 6, 2025

No, the cla is fine. The other jobs need to be started manually for whatever reason. I just did so.

Copy link
Member

@lochel lochel left a comment

Choose a reason for hiding this comment

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

A bit hacky, but seems to be alright.

@lochel lochel merged commit 5904e4e into OpenModelica:master Apr 7, 2025
5 checks passed
@ondras12345 ondras12345 deleted the linearize-simflags branch April 7, 2025 15:46
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.

3 participants