Kasper Peeters
Kasper Peeters
It looks like all debug info was stripped from `cadabra2.so`, (the first 7 entries in that stack trace point to that module but give no further info).
This is somewhat related to https://cadabra.science/qa/79/error-in-using-vary . The problem is that it requires knowing the derivative of the cosine, and I would really like to avoid adding all that logic...
This is probably a duplicate of #155.
That's because, for historical reasons, it is not the curly brackets that lead to the creation of a list, but the comma. So `bah1` is not a list, it is...
For reference: you can generate a single-item list with foo1 := {A->B, {}} or foo1:= \comma{A}
This only leads to nice typesetting. It would be good if we would also convert them correctly to/from sympy expressions (which is handled in `core/DisplaySympy.cc`). Can you add them there...
It isn't at present, but I agree it is sometimes useful, so I will put it on the todo list. You can avoid it by declaring your derivative as Derivative,...
By the way, for _user_ questions about Cadabra (not development questions) please use the Cadabra forum at http://cadabra.science/qa . Thanks.
The example there, ``` {a,b,c,d,e,f#}::Indices. A^{a b c}::AntiSymmetric. R_{a b c d}::RiemannTensor. \nabla{#}::Derivative. \nabla_{e}{R_{a b c d}}::SatisfiesBianchi. R_{a b c d}::TableauSymmetry( shape={2,2}, indices={0,2,1,3} ). foo := \nabla_{a}{R_{b c d e}}...
Yeah, I knew this was coming someday... Let me see what I can do.