Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Ed2uiz committed Mar 21, 2024
1 parent 985e917 commit 680e40c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/precompute.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ precompute <- function(conn, m, n, name){
n_cols = bit64::as.integer64(n)

sql_i <- glue::glue("SELECT i FROM generate_series(1, {n_rows}) AS t(i)")
sequence_i <- dplyr::tbl(con, dplyr::sql(sql_i))
sequence_i <- dplyr::tbl(conn, dplyr::sql(sql_i))

sql_j <- glue::glue("SELECT j FROM generate_series(1, {n_cols}) AS t(j)")
sequence_j <- dplyr::tbl(con, dplyr::sql(sql_j))
sequence_j <- dplyr::tbl(conn, dplyr::sql(sql_j))

key <- sequence_i |>
dplyr::cross_join(sequence_j) |>
Expand Down

0 comments on commit 680e40c

Please sign in to comment.