mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-13 01:43:13 +08:00
Fix (or mask away) conversion warnings introduced in 553caeb6a3bb545aef895f8fc9f219be44679017
.
This commit is contained in:
parent
1d5af0693c
commit
ba0736fa8e
@ -823,7 +823,7 @@ struct TensorEvaluator<const TensorContractionOp<Indices, LeftArgType, RightArgT
|
|||||||
ThreadLocalBlocks<LhsBlock>& blocks = lhs_thread_local_blocks_.local();
|
ThreadLocalBlocks<LhsBlock>& blocks = lhs_thread_local_blocks_.local();
|
||||||
|
|
||||||
Index grain_index = m1 - m * gm_;
|
Index grain_index = m1 - m * gm_;
|
||||||
return blocks.block(grain_index);
|
return blocks.block(internal::convert_index<int>(grain_index)); // FIXME better make ThreadLocalBlocks use Eigen::Index?
|
||||||
} else {
|
} else {
|
||||||
return packed_lhs_[k % (P - 1)][m1];
|
return packed_lhs_[k % (P - 1)][m1];
|
||||||
}
|
}
|
||||||
@ -835,7 +835,7 @@ struct TensorEvaluator<const TensorContractionOp<Indices, LeftArgType, RightArgT
|
|||||||
ThreadLocalBlocks<RhsBlock>& blocks = rhs_thread_local_blocks_.local();
|
ThreadLocalBlocks<RhsBlock>& blocks = rhs_thread_local_blocks_.local();
|
||||||
|
|
||||||
Index grain_index = n1 - n * gn_;
|
Index grain_index = n1 - n * gn_;
|
||||||
return blocks.block(grain_index);
|
return blocks.block(internal::convert_index<int>(grain_index)); // FIXME better make ThreadLocalBlocks use Eigen::Index?
|
||||||
} else {
|
} else {
|
||||||
return packed_rhs_[k % (P - 1)][n1];
|
return packed_rhs_[k % (P - 1)][n1];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user