RobinHankin / stokes

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

bug in hodge() #64

Closed RobinHankin closed 2 years ago

RobinHankin commented 2 years ago

Pretty sure this is a bug:

 a <- kform_general(4,2,1:6)
 hodge(a) + hodge(a,g=c(-1,1,1,1))
The zero alternating linear map from V^2 to R with V=R^n:
empty sparse array with 2 columns

I don't think that having the first element of g equal to minus one and all the others plus one should change the sign of every term. See also issue #63