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

Negating a OneElement produces a OneElement #381

Merged
merged 1 commit into from
Aug 27, 2024
Merged

Conversation

jishnub
Copy link
Member

@jishnub jishnub commented Aug 22, 2024

Currently,

julia> O = OneElement(3, (5,5), (6,6));

julia> -O
6×6 Matrix{Int64}:
 0  0  0  0   0  0
 0  0  0  0   0  0
 0  0  0  0   0  0
 0  0  0  0   0  0
 0  0  0  0  -3  0
 0  0  0  0   0  0

After this,

julia> -O
6×6 OneElement{Int64, 2, Tuple{Int64, Int64}, Tuple{Base.OneTo{Int64}, Base.OneTo{Int64}}}:
            
            
            
            
         -3  
            

Copy link

codecov bot commented Aug 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.90%. Comparing base (9868632) to head (6fd2604).
Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #381   +/-   ##
=======================================
  Coverage   99.90%   99.90%           
=======================================
  Files           8        8           
  Lines        1110     1111    +1     
=======================================
+ Hits         1109     1110    +1     
  Misses          1        1           

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

@dlfivefifty dlfivefifty merged commit 7b2bb11 into master Aug 27, 2024
22 checks passed
@jishnub jishnub deleted the jishnub/oneelnegate branch August 27, 2024 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants