@@ -10,19 +10,19 @@ stopifnot(is(c2, "dtrMatrix"),
1010          all.equal(as.matrix(c2 ), tol  =  7e-7 , #  see 2.7e-7
1111                    matrix (c(3.74166 , 0 , 8.55236 , 1.96396 ), 2 ))
1212          )
13- clM  <-  getClass(" Cholesky "  )
13+ clM  <-  getClass(" pMatrix "  )
1414cM  <-  new(clM )
1515
16- # # an*other* "Cholesky " class:
17- setClass ("Cholesky ", contains = "numeric", representation(size = "integer"))
16+ # # an*other* "pMatrix " class:
17+ setClass ("pMatrix ", contains = "numeric", representation(size = "integer"))
1818
19- clG  <-  getClass(" Cholesky "  , where  =  .GlobalEnv )
19+ clG  <-  getClass(" pMatrix "  , where  =  .GlobalEnv )
2020
2121stopifnot(exprs  =  {
22-     identical(clM , getClass(" Cholesky "  , where  =  asNamespace(" Matrix"  )))
23-     identical(evalq(getClass(" Cholesky "  ), asNamespace(" Matrix"  )), clM )
22+     identical(clM , getClass(" pMatrix "  , where  =  asNamespace(" Matrix"  )))
23+     identical(evalq(getClass(" pMatrix "  ), asNamespace(" Matrix"  )), clM )
2424    identical(getClass(class(cM )),  clM )
25-     identical(getClass(" Cholesky "  ), clG )
25+     identical(getClass(" pMatrix "  ), clG )
2626})
2727
2828# # Second:  tests of methods defined for the same generic
0 commit comments