Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify implementation of kernels #281

Merged
merged 1 commit into from
Nov 30, 2023
Merged

Simplify implementation of kernels #281

merged 1 commit into from
Nov 30, 2023

Conversation

frapac
Copy link
Member

@frapac frapac commented Nov 30, 2023

I know I pushed for it, but I admit I was wrong.

I think having two codes (the first using for loops, the second using broadcast) is error-prone, and long-term will just increase the burden on maintenance.

This PR removes the kernels using for loops, and keep only the kernels using broadcasting. Hence removing all duplicates code. That fixes the error I made.

@frapac frapac requested a review from sshin23 November 30, 2023 11:25
@codecov-commenter
Copy link

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (9a4ce89) 73.21% compared to head (304aca9) 75.57%.

Files Patch % Lines
src/IPM/kernels.jl 97.22% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #281      +/-   ##
==========================================
+ Coverage   73.21%   75.57%   +2.36%     
==========================================
  Files          41       41              
  Lines        4756     4529     -227     
==========================================
- Hits         3482     3423      -59     
+ Misses       1274     1106     -168     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sshin23 sshin23 merged commit 2c752d3 into master Nov 30, 2023
5 of 6 checks passed
@frapac frapac deleted the fp/kernels branch January 18, 2024 10:52
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.

3 participants