cda-tum / mqt-core

MQT Core - The Backbone of the Munich Quantum Toolkit
http://mqt.readthedocs.io/projects/core
MIT License
52 stars 28 forks source link

🩹 fix erroneous cast in `AodOperation` #647

Closed burgholzer closed 2 months ago

burgholzer commented 2 months ago

Description

This fixes a small erroneous cast in the AodOperation class that could potentially cause compilation errors on some systems.

Checklist:

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.6%. Comparing base (b41c3ee) to head (65cf494).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/cda-tum/mqt-core/pull/647/graphs/tree.svg?width=650&height=150&src=pr&token=MqstsRKdqp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum)](https://app.codecov.io/gh/cda-tum/mqt-core/pull/647?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum) ```diff @@ Coverage Diff @@ ## main #647 +/- ## ===================================== Coverage 91.6% 91.6% ===================================== Files 148 148 Lines 14755 14755 Branches 2369 2369 ===================================== Hits 13522 13522 Misses 1233 1233 ``` | [Flag](https://app.codecov.io/gh/cda-tum/mqt-core/pull/647/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum) | Coverage Δ | | |---|---|---| | [cpp](https://app.codecov.io/gh/cda-tum/mqt-core/pull/647/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum) | `91.3% <100.0%> (ø)` | | | [python](https://app.codecov.io/gh/cda-tum/mqt-core/pull/647/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum) | `99.7% <ø> (ø)` | | | [Files](https://app.codecov.io/gh/cda-tum/mqt-core/pull/647?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum) | Coverage Δ | | |---|---|---| | [include/mqt-core/operations/AodOperation.hpp](https://app.codecov.io/gh/cda-tum/mqt-core/pull/647?src=pr&el=tree&filepath=include%2Fmqt-core%2Foperations%2FAodOperation.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum#diff-aW5jbHVkZS9tcXQtY29yZS9vcGVyYXRpb25zL0FvZE9wZXJhdGlvbi5ocHA=) | `91.6% <100.0%> (ø)` | |