dewittpe / cpr

Control Polygon Reduction: Methods for quick and efficient placement of internal knots for B-splines and tensor products of B-splines.
http://www.peteredewitt.com/cpr/
2 stars 0 forks source link

summary.cnr errors #40

Closed dewittpe closed 2 years ago

dewittpe commented 2 years ago

Seen on commit 1493225

            initial_cn44 <- cn(log10(pdg) ~ btensor(list(day, age), df = list(6, 7)), data = spdg)
            cnr_run <- cnr(initial_cn44)
            s <- summary(cnr_run)

Error in (function (..., row.names = NULL, check.rows = FALSE, check.names = TRUE,  :
  arguments imply differing number of rows: 1, 2, 3
dewittpe commented 2 years ago

bug appears to be in summary.cpr_cn