From ddf303b646896b6052055c40a9639cb7efef30ae Mon Sep 17 00:00:00 2001 From: Sasha Rahlin Date: Tue, 19 Nov 2024 15:56:05 -0600 Subject: [PATCH] Fix timestream test --- core/tests/G3TimestreamMapTest.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tests/G3TimestreamMapTest.cxx b/core/tests/G3TimestreamMapTest.cxx index b1e73f40..35b6cbb5 100644 --- a/core/tests/G3TimestreamMapTest.cxx +++ b/core/tests/G3TimestreamMapTest.cxx @@ -66,7 +66,7 @@ void testMakeCompactExisting(){ std::vector keys={"a","b","c","d"}; G3Time t1(0), t2(3); const std::size_t nSamples=4; - std::shared_ptr data=std::make_shared(keys.size()*nSamples); + auto data=std::shared_ptr(new SampleType[keys.size()*nSamples]); //construct a recognizable data pattern for(std::size_t i=0; i