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

do not allocate in x_converged #54

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

longemen3000
Copy link
Contributor

it changes y = x .- z for an iterator. ideally, a custom struct could be provided for this, i imagine some problems could arise if using CUArrays?

@pkofod
Copy link
Member

pkofod commented May 3, 2023

I suppose preallocating y is an alternative ?

@longemen3000
Copy link
Contributor Author

it is an alternative. Ideally, there should be a way to calculate norm(dx) without allocating somewhere, but the last time i asked, that was the agreed-upon solution

@pkofod
Copy link
Member

pkofod commented Jun 12, 2023

tests failed it seems

@pkofod
Copy link
Member

pkofod commented Jun 12, 2023

ah that was the anderson test

@pkofod pkofod closed this Jun 12, 2023
@pkofod pkofod reopened this Jun 12, 2023
@codecov
Copy link

codecov bot commented Jun 12, 2023

Codecov Report

❗ No coverage uploaded for pull request base (master@8d4792b). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #54   +/-   ##
=========================================
  Coverage          ?   76.47%           
=========================================
  Files             ?       54           
  Lines             ?     2776           
  Branches          ?        0           
=========================================
  Hits              ?     2123           
  Misses            ?      653           
  Partials          ?        0           

@ararslan
Copy link
Contributor

Looks like CI passed

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