Isomorphism: makes sure that new hashes depends on the old ones

Allows to make the "distinguish" step work
pull/602/head
Tpt 2 years ago
parent d823f3c145
commit 83ebc69f7f
  1. 6
      lib/oxrdf/src/dataset.rs

@ -669,10 +669,10 @@ impl Dataset {
to_hash.sort_unstable();
let hash = Self::hash_tuple((&to_hash, hashes[bnode]));
to_hash.clear();
if hash != hashes[bnode] {
new_hashes.insert(*bnode, hash);
} else {
if hash == hashes[bnode] {
to_do.insert(*bnode, false);
} else {
new_hashes.insert(*bnode, hash);
}
hash
} else {

Loading…
Cancel
Save