Closed dmcdougall closed 2 months ago
contract_ft_test
is failing... investigating.
Oh, the first argument to FourierPhase
isn't a pointer to const
. You're probably expecting this method to change the stuff pointed to by phase
, and I just put it on the stack before calling the method. That's probably why the test is failing; changes aren't propagated back to the caller.
Give me a moment to fix it.
contract_ft_test
appears to be passing now.
VLAs were rejected by WG21 and, in light of this, recent-ish Clangs updated the warning set to include their use in C++ code. See here for the relevant LLVM commit.
STRICT builds therefore fail to compile them. This patch replaces their use with std::vector where appropriate.