pygae / galgebra

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

Simplify the common printing methods between classes #386

Closed eric-wieser closed 4 years ago

eric-wieser commented 4 years ago

It's easier to make these a base class than it is to import them separately at each layer.

This also:

codecov[bot] commented 4 years ago

Codecov Report

Merging #386 into master will decrease coverage by 0.10%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #386      +/-   ##
==========================================
- Coverage   77.68%   77.58%   -0.11%     
==========================================
  Files          16       16              
  Lines        4248     4220      -28     
==========================================
- Hits         3300     3274      -26     
+ Misses        948      946       -2     
Impacted Files Coverage Δ
galgebra/dop.py 91.07% <100.00%> (+1.32%) :arrow_up:
galgebra/lt.py 59.30% <100.00%> (-0.47%) :arrow_down:
galgebra/mv.py 74.91% <100.00%> (-0.30%) :arrow_down:
galgebra/printer.py 78.75% <100.00%> (-0.27%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 57fe46c...42cfe47. Read the comment docs.