Replies: 1 comment
-
Continued in issue #149. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was using the package to do some relativistic kinematics calculations and noticed the following strange behavior. I would assume the 4D dot product to be the Lorentz inner product (so metric ---+), but it seems for some situations it reverts to a Cartesian inner product (metric ----). I would assume this is a bug as I wouldn't expect this sort of behavior or saw anything mentioned in the documentation that would explain it.
Here is an example that at least on my system shows the behavior. Simply flipping the sign of the fourvector SmuT yields the Cartesian instead of the Lorentz inner product. As a note, SmuT is constructed such that it is a spatial unit vector and (SmuT*P) should be zero.
Output:
I get similar behaviour in other situations, where changing some components of fourvectors flips a Lorentz inner product to a Cartesian one, seemingly at random.
Beta Was this translation helpful? Give feedback.
All reactions