mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
fixed: do not compare index 2 twice
This commit is contained in:
parent
0c90f67dcc
commit
2a22cbe610
@ -491,7 +491,7 @@ inline void Vector4<S>::setZero()
|
||||
template<typename S>
|
||||
inline bool Vector4<S>::isZero() const
|
||||
{
|
||||
return (m_v[0] == 0) && (m_v[1] == 0) && (m_v[2] == 0) && (m_v[2] == 0);
|
||||
return (m_v[0] == 0) && (m_v[1] == 0) && (m_v[2] == 0) && (m_v[3] == 0);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user