Skip to content

Commit

Permalink
Fix timestream test
Browse files Browse the repository at this point in the history
  • Loading branch information
arahlin committed Nov 19, 2024
1 parent c6cce40 commit ddf303b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/tests/G3TimestreamMapTest.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ void testMakeCompactExisting(){
std::vector<std::string> keys={"a","b","c","d"};
G3Time t1(0), t2(3);
const std::size_t nSamples=4;
std::shared_ptr<SampleType[]> data=std::make_shared<SampleType[]>(keys.size()*nSamples);
auto data=std::shared_ptr<SampleType[]>(new SampleType[keys.size()*nSamples]);
//construct a recognizable data pattern
for(std::size_t i=0; i<keys.size(); i++){
for(std::size_t j=0; j<nSamples; j++){
Expand Down

0 comments on commit ddf303b

Please sign in to comment.