pygae / galgebra

Symbolic Geometric Algebra/Calculus package for SymPy :crystal_ball:
https://galgebra.rtfd.io/
BSD 3-Clause "New" or "Revised" License
227 stars 62 forks source link

mv.Grad raises AttributeError #408

Open eric-wieser opened 4 years ago

eric-wieser commented 4 years ago

I suspect this has never worked, and I'm not sure what it's supposed to do.

In [106]: ex.Grad(x)
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-106-eeeb3cb8b793> in <module>
----> 1 ex.Grad(x)

c:\users\wiese\repos\ga\galgebra\galgebra\mv.py in Grad(self, coords, mode, left)
   1088         """
   1089         return Mv(self.Ga.Diff(self, mode, left, coords=coords), ga=self.Ga)
-> 1090
   1091     def exp(self, hint: str = '-') -> 'Mv':  # Calculate exponential of multivector
   1092         """

AttributeError: 'Ga' object has no attribute 'Diff'
utensil commented 4 years ago

I never noticed this part of code.......