Skip to content

Commit

Permalink
fix: 🐛 Remove import that makes build fail, add NOLINT for `Eigen::Ma…
Browse files Browse the repository at this point in the history
…trixXcd` missing direct header instead
  • Loading branch information
DRovara committed Aug 28, 2024
1 parent 306ccd7 commit d3c7c64
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/backend/dd/DDSimDebug.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#include "backend/dd/DDSimDebug.hpp"

#include "Definitions.hpp"
#include "Eigen/src/Core/Matrix.h"
#include "backend/dd/DDSimDiagnostics.hpp"
#include "backend/debug.h"
#include "backend/diagnostics.h"
Expand Down Expand Up @@ -690,7 +689,7 @@ Result ddsimGetStateVectorFull(SimulationState* self, Statevector* output) {
return OK;
}

Eigen::MatrixXcd
Eigen::MatrixXcd // NOLINT
toEigenMatrix(const std::vector<std::vector<Complex>>& matrix) {
Eigen::MatrixXcd mat(static_cast<int64_t>(matrix.size()), // NOLINT
static_cast<int64_t>(matrix.size())); // NOLINT
Expand Down

0 comments on commit d3c7c64

Please sign in to comment.