Skip to content

Commit d5c14fc

Browse files
committed
removed warnings on Linux and Mac
1 parent 4d1649f commit d5c14fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/blaze/blaze/math/expressions/DVecDVecCrossExpr.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ class DVecDVecCrossExpr
463463
// \param index Access index. The index has to be in the range \f$[0..N-1]\f$.
464464
// \return Reference to the accessed values.
465465
*/
466-
BLAZE_ALWAYS_INLINE auto load( size_t index ) const noexcept {
466+
BLAZE_ALWAYS_INLINE auto load( [[maybe_unused]] size_t index ) const noexcept {
467467
BLAZE_INTERNAL_ASSERT( index == 0UL, "Invalid vector access index" );
468468
LT x( serial( lhs_ ) ); // Evaluation of the left-hand side dense vector operand
469469
RT y( serial( rhs_ ) ); // Evaluation of the right-hand side dense vector operand

include/blaze/blaze/math/lapack/pstrf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ inline blas_int_t pstrf( DenseMatrix<MT,SO>& A, char uplo, blas_int_t* piv, ST t
158158

159159
BLAZE_INTERNAL_ASSERT( info >= 0, "Invalid argument for Cholesky decomposition" );
160160

161-
for( size_t i=0UL; i<n; ++i ) {
161+
for( blas_int_t i=0; i<n; ++i ) {
162162
--piv[i]; // Adapt from Fortran 1-based to C 0-based indexing
163163
}
164164

0 commit comments

Comments
 (0)