RobinHankin / stokes

methods for exterior calculus
https://robinhankin.github.io/stokes/
3 stars 0 forks source link

test_transform fails #47

Closed RobinHankin closed 3 years ago

RobinHankin commented 3 years ago

Test test_transform.R fails at foo(o,M) if o is the zero form.

RobinHankin commented 3 years ago

The problem is with transform():

>      K <- as.kform(matrix(c(1,1,2,3),2,2),c(1,5))
>      M <- matrix(1:9,3,3)
>      transform(K*0,M)
NULL
> 

Now I'm not saying that NULL is incorrect, but it really ought to return a kform.