Commit f07aa188 authored by Mathias Goldau's avatar Mathias Goldau
Browse files

[CHANGE] Now the operator/ will not use the RHSValueT for operator...

[CHANGE] Now the operator/ will not use the RHSValueT for operator substitution via operator*( 1 / rhs), since it may fail, when RHSValueT is e.g. size_t
parent c00ab05c
......@@ -736,7 +736,7 @@ public:
WMatrixFixed< typename WTypeTraits::TypePromotion< ValueT, RHSValueT >::Result, Rows, Cols, ValueStoreT >
operator/( const RHSValueT& rhs ) const
{
return operator*( RHSValueT( 1 ) / rhs );
return operator*( ValueT( 1 ) / rhs );
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment