Skip to content

Rename system attributes n, m, p#578

Merged
pmli merged 1 commit intomasterfrom
sys-attributes
Feb 2, 2019
Merged

Rename system attributes n, m, p#578
pmli merged 1 commit intomasterfrom
sys-attributes

Conversation

@pmli
Copy link
Copy Markdown
Member

@pmli pmli commented Feb 1, 2019

Renaming is as follows:

  • n -> order
  • m -> input_dim
  • p -> output_dim

Other suggestions are welcome. order is used in places related to quadrature. Maybe shortening input_dim and output_dim would be good, e.g., in_dim and out_dim. Or replacing input_dim and output_dim with an attribute shape = (m.output_space.dim, m.input_space.dim).

@pmli pmli added sys-mor pr:change Change in existing functionality labels Feb 1, 2019
@pmli pmli added this to the 2019.2 milestone Feb 1, 2019
@pmli pmli requested a review from sdrave February 1, 2019 18:32
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 1, 2019

Codecov Report

Merging #578 into master will increase coverage by <.01%.
The diff coverage is 52%.

Impacted Files Coverage Δ
src/pymor/reductors/sobt.py 81.32% <100%> (ø) ⬆️
src/pymor/reductors/bt.py 63.91% <12.5%> (-0.67%) ⬇️
src/pymor/reductors/h2.py 64.87% <46.66%> (ø) ⬆️
src/pymor/models/iosys.py 61.48% <50%> (ø) ⬆️
src/pymor/reductors/sor_irka.py 65.3% <66.66%> (ø) ⬆️
src/pymor/reductors/interpolation.py 79.51% <83.33%> (ø) ⬆️
src/pymor/gui/qt.py 22.74% <0%> (+0.36%) ⬆️

Copy link
Copy Markdown
Member

@sdrave sdrave left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the new names!

@pmli pmli merged commit 39dded5 into master Feb 2, 2019
@pmli pmli deleted the sys-attributes branch February 2, 2019 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:change Change in existing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants