Skip to content

Avoid warning on complex-to-float conversion - #5795

Merged
CirqBot merged 3 commits into
quantumlib:masterfrom
pavoljuhas:fix-casting-complex-to-real
Jul 18, 2022
Merged

CirqBot merged 3 commits into
quantumlib:masterfrom
pavoljuhas:fix-casting-complex-to-real

Conversation

@pavoljuhas

Copy link
Copy Markdown
Collaborator

Make it clear we want to use the real part.

Make it clear we want to use the real part.
@pavoljuhas
pavoljuhas requested review from a team, cduck and vtomole as code owners July 18, 2022 20:37
@pavoljuhas
pavoljuhas requested a review from maffoo July 18, 2022 20:37
@CirqBot CirqBot added the Size: XS <10 lines changed label Jul 18, 2022
@pavoljuhas pavoljuhas changed the title Silence warning on complex-to-float conversion Avoid warning on complex-to-float conversion Jul 18, 2022

@vtomole vtomole left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@pavoljuhas pavoljuhas added the automerge Tells CirqBot to sync and merge this PR. (If it's running.) label Jul 18, 2022
@CirqBot CirqBot added the front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. label Jul 18, 2022
@CirqBot
CirqBot merged commit ba27c7e into quantumlib:master Jul 18, 2022
@CirqBot CirqBot removed automerge Tells CirqBot to sync and merge this PR. (If it's running.) front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. labels Jul 18, 2022
@pavoljuhas
pavoljuhas deleted the fix-casting-complex-to-real branch July 19, 2022 00:58
rht pushed a commit to rht/Cirq that referenced this pull request May 1, 2023
Make it clear we want to use the real part.
harry-phasecraft pushed a commit to PhaseCraft/Cirq that referenced this pull request Oct 31, 2024
Make it clear we want to use the real part.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Size: XS <10 lines changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants