Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
t-kalinowski committed Oct 10, 2024
1 parent 6145bb0 commit 33dc157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/class.R
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ on_load_define_class_lookup_table <- function() {
# list(class_function, )
# list(class_any, )
)
class_lookup_table <<- utils::hashtab("address")
class_lookup_table <<- utils::hashtab("address", length(pairs))
for (pair in pairs) {
utils::sethash(class_lookup_table, pair[[2]], pair[[1]])
}
Expand Down

0 comments on commit 33dc157

Please sign in to comment.