From 68c7bff069ad57c654da45d510ba70f9a5198aec Mon Sep 17 00:00:00 2001 From: WrathfulSpatula Date: Sat, 26 Oct 2024 09:51:18 -0400 Subject: [PATCH] Fix unique_ptr type in separability.cpp --- examples/separability.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/separability.cpp b/examples/separability.cpp index 24c15f92d..882589fa8 100644 --- a/examples/separability.cpp +++ b/examples/separability.cpp @@ -116,7 +116,7 @@ int main(int argc, char* argv[]) const bitLenInt width = (bitLenInt)std::stoi(argv[1U]); const bitLenInt halfWidth = width >> 1U; const bitCapIntOcl maxQPower = Qrack::pow2Ocl(width); - std::unique_ptr arr(new Qrack::complex[maxQPower]); + std::unique_ptr arr(new Qrack::complex[maxQPower]); for (bitLenInt i = 0U; i < halfWidth; ++i) { const bitLenInt subsystemSize = i + 1U;