Skip to content

Commit 196f288

Browse files
committed
1. fix bug in Parallel_LRI_Equally_Filter::filter_Ab2()
1 parent a9f917e commit 196f288

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

include/RI/parallel/Parallel_LRI_Equally_Filter.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ void Parallel_LRI_Equally_Filter<TA,Tcell,Ndim,Tdata>::filter_Ab2 (
1515
const std::map<TA, std::map<TAC, Tensor<Tdata>>> &Ds_b)
1616
{
1717
using namespace Array_Operator;
18+
this->list_Ab2_filter.clear();
1819
for(const TAC &Ab01 : this->list_Ab01)
1920
{
2021
for(const TAC &Ab2 : this->list_Ab2)

unittests/global/Tensor-test.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#include "RI/global/Tensor.h"
99

10-
std::ostream &operator<<(std::ostream &os, const RI::Shape_Vector &v)
10+
static std::ostream &operator<<(std::ostream &os, const RI::Shape_Vector &v)
1111
{
1212
for(std::size_t i=0; i<v.size(); ++i)
1313
os<<v[i]<<"\t";

0 commit comments

Comments
 (0)