Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make
Mv._make_x
functions private and static
These don't need to mutate any state, and they way they did before made the iterative approach in make_multivector quite confusing. The functions now return a raw sympy expression, which is assigned to `self.obj` in a single place. This also adds errors to the paths that didn't set anything at all. Since these are now static methods, it is easier to remove the dictionary so that they can be called the usual way. The one assignment to `self.grade_i` was pointless, as it was overwritten later anyway.
- Loading branch information
1 parent
6d50440
commit 9b42246
Showing
1 changed file
with
68 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters