Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
One more
  • Loading branch information
GavinMendelGleason committed Jan 21, 2023
commit 76f2d8a0d2868118a7130d63e3b4f26cfac68a42
2 changes: 1 addition & 1 deletion src/layer/internal/mod.rs
Original file line number Diff line number Diff line change
@@ -663,7 +663,7 @@ impl Layer for InternalLayer {
let mut corrected_id = id;
if let Some(parent) = current_layer.immediate_parent() {
parent_count -= current_layer.predicate_dict_len() as u64;
if corrected_id > parent_count as u64 {
if corrected_id > parent_count {
// subject, if it exists, is in this layer
corrected_id -= parent_count;
} else {