Skip to content

Commit 05705de

Browse files
Fix small bug in is_cpdag
1 parent 06af30d commit 05705de

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

R/queries.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,10 @@ is_pdag <- function(cg, force_check = FALSE) {
197197
#' @concept queries
198198
#'
199199
#' @export
200-
is_cpdag <- function(x) {
201-
is_caugi(x, TRUE)
200+
is_cpdag <- function(cg) {
201+
is_caugi(cg, TRUE)
202202
cg <- build(cg)
203-
is_it <- is_cpdag_ptr(x@ptr)
203+
is_it <- is_cpdag_ptr(cg@ptr)
204204
is_it
205205
}
206206

0 commit comments

Comments
 (0)