Skip to content

Solver var consistent return type#1017

Open
Dimosts wants to merge 4 commits into
masterfrom
solver_var-consistent-return-type
Open

Solver var consistent return type#1017
Dimosts wants to merge 4 commits into
masterfrom
solver_var-consistent-return-type

Conversation

@Dimosts

@Dimosts Dimosts commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

fixes #999

@Dimosts Dimosts requested a review from IgnaceBleukx June 15, 2026 11:56
@Dimosts Dimosts marked this pull request as ready for review June 15, 2026 11:56
@Dimosts Dimosts self-assigned this Jun 15, 2026

@IgnaceBleukx IgnaceBleukx left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Great, nice cleanups.
I would like to solver_vars to then also be typed? I think that was the original point anyway ; )

@@ -123,18 +123,20 @@ def native_model(self):
return self.pdk_solver

def _int2bool_user_vars(self):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Could you type this? Also a docstring would be useful : )
I'm also not entire sure about the function name, but its already there from before so thats fine

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.

Inconsistent return type for solver vars

2 participants