Skip to content

PERF: Avoid impplicit check when hasconst - #5698

Merged
bashtage merged 1 commit into
statsmodels:masterfrom
bashtage:perf-fix-has-const-implicit-check
May 11, 2019
Merged

bashtage merged 1 commit into
statsmodels:masterfrom
bashtage:perf-fix-has-const-implicit-check

Conversation

@bashtage

Copy link
Copy Markdown
Member

Avoid implicit check since it does not help the situation
Always set k_constant=1 if hasconst even if not found

  • code/documentation is well formatted.
  • properly formatted commit message. See
    NumPy's guide.

Avoid implicit check since it does not help the situation
Always set k_constant=1 if hasconst even if not found
@codecov

codecov Bot commented May 11, 2019 •

Copy link
Copy Markdown

Codecov Report

Merging #5698 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5698      +/-   ##
==========================================
+ Coverage   82.18%   82.18%   +<.01%     
==========================================
  Files         593      593              
  Lines       93675    93679       +4     
  Branches    10351    10352       +1     
==========================================
+ Hits        76987    76991       +4     
  Misses      14291    14291              
  Partials     2397     2397
Impacted Files Coverage Δ
statsmodels/base/data.py 90.44% <100%> (+0.09%) ⬆️

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 3b08c08...b963dc3. Read the comment docs.

1 similar comment
@codecov

codecov Bot commented May 11, 2019

Copy link
Copy Markdown

Codecov Report

Merging #5698 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5698      +/-   ##
==========================================
+ Coverage   82.18%   82.18%   +<.01%     
==========================================
  Files         593      593              
  Lines       93675    93679       +4     
  Branches    10351    10352       +1     
==========================================
+ Hits        76987    76991       +4     
  Misses      14291    14291              
  Partials     2397     2397
Impacted Files Coverage Δ
statsmodels/base/data.py 90.44% <100%> (+0.09%) ⬆️

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 3b08c08...b963dc3. Read the comment docs.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.0007%) to 84.713% when pulling b963dc3 on bashtage:perf-fix-has-const-implicit-check into 3b08c08 on statsmodels:master.

@bashtage
bashtage merged commit 83bbf63 into statsmodels:master May 11, 2019
@bashtage
bashtage deleted the perf-fix-has-const-implicit-check branch May 11, 2019 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants