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

Modernize graph.cpp to use data_handles. #2463

Merged
merged 2 commits into from
Aug 16, 2023
Merged

Modernize graph.cpp to use data_handles. #2463

merged 2 commits into from
Aug 16, 2023

Conversation

1uc
Copy link
Collaborator

@1uc 1uc commented Aug 15, 2023

This commit modernizes the use of pd + i in Graph::choose_sym().

This commit modernizes the use of `pd + i` in
`Graph::choose_sym()`.
@1uc
Copy link
Collaborator Author

1uc commented Aug 15, 2023

To check during review:

  • When pd yields a "modern" data_handle and n>1, then the underlying field must be a SoAoS, and array_dim == n.
    Proposed fix for Problem with datahandle #2457.

@1uc 1uc mentioned this pull request Aug 15, 2023
@azure-pipelines
Copy link

✔️ d97001a -> Azure artifacts URL

@codecov
Copy link

codecov bot commented Aug 15, 2023

Codecov Report

Merging #2463 (094bd39) into master (df99e4c) will increase coverage by 0.00%.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master    #2463   +/-   ##
=======================================
  Coverage   60.41%   60.41%           
=======================================
  Files         626      626           
  Lines      120816   120813    -3     
=======================================
- Hits        72990    72989    -1     
+ Misses      47826    47824    -2     
Files Changed Coverage Δ
src/ivoc/graph.cpp 50.73% <0.00%> (+0.04%) ⬆️

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@bbpbuildbot

This comment has been minimized.

@1uc 1uc marked this pull request as ready for review August 16, 2023 12:06
Copy link
Member

@nrnhines nrnhines left a comment

Choose a reason for hiding this comment

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

Tested manually. Certainly fixes the issue. There are a number of surprising behaviors with the [all] syntax for Plot what? selection persistence in regard to saving/restoring sessions and changing nseg. However these problems existed from the beginning and have nothing to do with data handles. So this PR should be merged as is.

@azure-pipelines
Copy link

✔️ 094bd39 -> Azure artifacts URL

@nrnhines nrnhines merged commit 21f1654 into master Aug 16, 2023
32 of 33 checks passed
@nrnhines nrnhines deleted the 1uc/issue-2457 branch August 16, 2023 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.

3 participants