Observe that the program adds an extra homological degree 0 if the Lie algebra has no differential in input.
i1 : L1=lieAlgebra({a,b,c},{},genWeights=>{{1,0},{1,0},{2,1}},genDiffs=>{[],[],[]}) o1 = L1 o1 : LieAlgebra |
i2 : L1.deglength o2 = 2 |
i3 : L2=lieAlgebra({a,b,c},{},genWeights=>{{1,0},{1,0},{2,1}}) o3 = L2 o3 : LieAlgebra |
i4 : L2.deglength o4 = 3 |