Skip to content

Add default state support to ScalarOutputMixin - #271

Merged
arcondello merged 1 commit into
dwavesystems:mainfrom
arcondello:feature/mixins-refactor
Apr 22, 2025
Merged

Add default state support to ScalarOutputMixin#271
arcondello merged 1 commit into
dwavesystems:mainfrom
arcondello:feature/mixins-refactor

Conversation

@arcondello

Copy link
Copy Markdown
Member

Removes a fair amount of code duplication.

Could be replicated for ArrayOutputMixin, but IMO we should play with this one for a while first.

One thing that this is highlighting for me is that we have a circular dependency between array.hpp and graph.hpp. We've gotten around it for now by messing with templates and the like, but probably there are nicer things we could do in the future.

@arcondello arcondello added the enhancement New feature or request label Apr 21, 2025
@arcondello
arcondello requested a review from wbernoudy April 21, 2025 20:19

@wbernoudy wbernoudy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants