RobinHankin / stokes

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

bug in is.volume() #62

Closed RobinHankin closed 2 years ago

RobinHankin commented 2 years ago

While working with hodge() I noticed this:

> is.volume(as.kform(1))
[1] TRUE
> is.volume(as.kform(2))
[1] FALSE

I was working with dx ^ dy (as part of issue #61) but was puzzled by this. Fixing this issue may well fix #61

RobinHankin commented 2 years ago

Function is.volume() needs a second argument, eg is.volume(K,n) where n is the dimensionality of the space considered. This would be like the argument n of hodge().