Skip to content

Commit a7ab66f

Browse files
fix reference error
1 parent af2e3e9 commit a7ab66f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

touchstone/script.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ tbl <- timings %>%
2323
dplyr::summarise(m = mean(.data$elapsed)) %>%
2424
tibble::deframe()
2525

26-
diff_percent <- round(100 * (tbl[ref[2]] - tbl[ref[1]]) / tbl[ref[1]])
27-
writeLines(glue::glue('{tbl[ref[2]]} -> {tbl[ref[1]]} ({diff_percent}%)'), 'touchstone/pr-comment/info.txt')
26+
diff_percent <- round(100 * (tbl[refs[2]] - tbl[refs[1]]) / tbl[refs[1]])
27+
writeLines(glue::glue("{tbl[refs[2]]} -> {tbl[refs[1]]} ({diff_percent}%)"), "touchstone/pr-comment/info.txt")

0 commit comments

Comments
 (0)