mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-02 18:20:38 +08:00
fix linking issue with manage_caching_sizes_second_if_negative
This commit is contained in:
parent
2bde6013c9
commit
0007cc3dd7
@ -30,7 +30,7 @@ namespace internal {
|
|||||||
template<typename _LhsScalar, typename _RhsScalar, bool _ConjLhs=false, bool _ConjRhs=false>
|
template<typename _LhsScalar, typename _RhsScalar, bool _ConjLhs=false, bool _ConjRhs=false>
|
||||||
class gebp_traits;
|
class gebp_traits;
|
||||||
|
|
||||||
std::ptrdiff_t manage_caching_sizes_second_if_negative(std::ptrdiff_t a, std::ptrdiff_t b)
|
inline std::ptrdiff_t manage_caching_sizes_second_if_negative(std::ptrdiff_t a, std::ptrdiff_t b)
|
||||||
{
|
{
|
||||||
return a<=0 ? b : a;
|
return a<=0 ? b : a;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user