Welcome to Cadabra Q&A, where you can ask questions and receive answers from other members of the community.
0 votes

The following code:

{u,v}::Weight(label=field,value=1);
ex:=(u v)**{1/2};
keep_weight(_,$field=1$);

I get the wrong result $0$, while the following code

{u,v}::Weight(label=field,value=1);
ex:=(u v)**{1/2}+u u;
keep_weight(_,$field=1$);

work fine. It seems a bug.

in Bug reports by (2.1k points)

Please log in or register to answer this question.

...