Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: openmp typo #134

Merged
merged 2 commits into from
Jan 18, 2024
Merged

fix: openmp typo #134

merged 2 commits into from
Jan 18, 2024

Conversation

Zhaoyilunnn
Copy link
Collaborator

build job failed on windows: https://github.com/ScQ-Cloud/pyquafu/actions/runs/7552526187/job/20561548536?pr=133

  • errors
    1. statevector.hpp(1305): error C3001: 'paraleel': expected an OpenMP directive name
    2. statevector.hpp(1315): error C3016: 'j': index variable in OpenMP 'for' statement must have signed integral type

Copy link
Collaborator

@lss0208 lss0208 left a comment

Choose a reason for hiding this comment

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

I suggest use 'omp_i' instead 'int' inside the loop of omp.

@Zhaoyilunnn Zhaoyilunnn merged commit 862cb63 into ScQ-Cloud:master Jan 18, 2024
34 of 35 checks passed
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.

2 participants