Updating lbpm_uCT_pp.cpp
This commit is contained in:
@@ -1002,7 +1002,7 @@ Array<TYPE, FUN, Allocator> Array<TYPE, FUN, Allocator>::coarsen(
|
||||
throw std::invalid_argument( "Array must be multiple of filter size" );
|
||||
}
|
||||
Array<TYPE, FUN, Allocator> y( S2 );
|
||||
if ( d_size.ndim() <= 3 )
|
||||
if ( d_size.ndim() > 3 )
|
||||
throw std::logic_error( "Function programmed for more than 3 dimensions" );
|
||||
const auto &Nh = filter.d_size;
|
||||
for ( size_t k1 = 0; k1 < y.d_size[2]; k1++ ) {
|
||||
|
||||
Reference in New Issue
Block a user