RobinHankin / clifford

https://robinhankin.github.io/clifford/
5 stars 0 forks source link

bug when lengths differ #94

Closed RobinHankin closed 11 months ago

RobinHankin commented 11 months ago
suppressMessages(library("clifford"))
clifford(list(1,1:2,1:3),1:2)
#> Element of a Clifford algebra, equal to
#> + 1e_1 + 2e_12 + 2.660784e-314e_123
clifford(list(1,1:2,1:3),1:4)
#> Element of a Clifford algebra, equal to
#> + 1e_1 + 2e_12 + 3e_123

Above, both calls to clifford() should return errors. Of course the first one is much more serious