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

feat: inplace scalar multiplication for FqMatrix #1797

Merged
merged 1 commit into from
Jun 21, 2024
Merged

feat: inplace scalar multiplication for FqMatrix #1797

merged 1 commit into from
Jun 21, 2024

Conversation

thofma
Copy link
Member

@thofma thofma commented Jun 21, 2024

(There exists no corresponding function in flint)

Copy link

codecov bot commented Jun 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.90%. Comparing base (c60bc50) to head (e6e0a29).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1797      +/-   ##
==========================================
- Coverage   85.92%   85.90%   -0.02%     
==========================================
  Files          95       95              
  Lines       36374    36389      +15     
==========================================
+ Hits        31253    31261       +8     
- Misses       5121     5128       +7     

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

Comment on lines +352 to +349
a = F17[1 2 3 1; 3 2 1 2; 1 3 2 0]
z = F17(2)
b = similar(a)
@test mul!(b, a, z) == a * z
b = similar(a)
@test mul!(b, z, a) == a * z
Copy link
Collaborator

Choose a reason for hiding this comment

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

What is the difference between this block and the one prior? I cannot see any changes

Copy link
Member Author

Choose a reason for hiding this comment

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

bza vs baz

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yeah, that's L355 vs L357. I was asking about L345-350 vs L352-357

Copy link
Member Author

Choose a reason for hiding this comment

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

ah, right

(There exists no corresponding function in flint)
@thofma thofma merged commit befc7d7 into master Jun 21, 2024
25 of 26 checks passed
@thofma thofma deleted the th/scalmul branch June 21, 2024 15:40
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