Describe the Code Quality Issue
Description
There are some functions of code of blas_connector.cpp that is not properly terminated:
double BlasConnector::dot( const int n, const double *X, const int incX, const double *Y, const int incY, base_device::AbacusDevice_t device_type)
{
if (device_type == base_device::AbacusDevice_t::CpuDevice) {
return ddot_(&n, X, &incX, Y, &incY);
}
}
I propose adding a default branch (else clause or return statement) at the end to pair if-clause.
Related PR
#5242
#5301
@Critsium-xy
Additional Context
No response
Task list for Issue attackers (only for developers)
Describe the Code Quality Issue
Description
There are some functions of code of
blas_connector.cppthat is not properly terminated:I propose adding a default branch (
elseclause orreturnstatement) at the end to pairif-clause.Related PR
#5242
#5301
@Critsium-xy
Additional Context
No response
Task list for Issue attackers (only for developers)