summaryrefslogtreecommitdiff
path: root/src/mem/ruby/common/NetDest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/ruby/common/NetDest.cc')
-rw-r--r--src/mem/ruby/common/NetDest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/ruby/common/NetDest.cc b/src/mem/ruby/common/NetDest.cc
index f694af99b..509d0d223 100644
--- a/src/mem/ruby/common/NetDest.cc
+++ b/src/mem/ruby/common/NetDest.cc
@@ -222,7 +222,7 @@ NetDest::intersectionIsNotEmpty(const NetDest& other_netDest) const
{
assert(m_bits.size() == other_netDest.getSize());
for (int i = 0; i < m_bits.size(); i++) {
- if (m_bits[i].intersectionIsNotEmpty(other_netDest.m_bits[i])) {
+ if (!m_bits[i].intersectionIsEmpty(other_netDest.m_bits[i])) {
return true;
}
}