Skip to content

Add missing cmath header - #1100

Open
rupprecht wants to merge 1 commit into
quantumlib:mainfrom
rupprecht:cmath-header
Open

Add missing cmath header#1100
rupprecht wants to merge 1 commit into
quantumlib:mainfrom
rupprecht:cmath-header

Conversation

@rupprecht

Copy link
Copy Markdown

When using libc++ after llvm/llvm-project@ada3786, #include <random> does not imply #include <cmath>, so we need to directly import it to avoid breakages due to the use of floorf.

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.

1 participant