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

Add support for ComplexDataVector to Pypp tests #1398

Merged
merged 1 commit into from Feb 27, 2019

Conversation

moxcodes
Copy link
Contributor

Proposed changes

Python (and numpy) routines gracefully handle complex values, so it's just a matter of bringing the values from the ComplexDataVector over to the numpy structures.

Types of changes:

  • New feature

Component:

  • Code

Code review checklist

  • The PR passes all checks, including unit tests, clang-tidy and IWYU.
    For instructions on how to perform the CI checks locally refer to the Dev
    guide on the Travis CI
    .
  • The code is documented and the documentation renders correctly. Run
    make doc to generate the documentation locally into BUILD_DIR/docs/html.
    Then open index.html.
  • The code follows the stylistic and code quality guidelines listed in the
    code review guide.

@moxcodes moxcodes force-pushed the pypp_complex branch 3 times, most recently from fe1c346 to c4f9c46 Compare February 26, 2019 19:48
moxcodes added a commit to moxcodes/spectre that referenced this pull request Feb 26, 2019
@moxcodes moxcodes mentioned this pull request Feb 26, 2019
7 tasks
nilsdeppe
nilsdeppe previously approved these changes Feb 26, 2019
osheamonn
osheamonn previously approved these changes Feb 26, 2019
@moxcodes
Copy link
Contributor Author

squashed in iwyu and clang-tidy changes to make Travis happy.

@osheamonn osheamonn self-requested a review February 26, 2019 23:28
@@ -143,7 +143,7 @@ void check_with_random_values_impl(
std::index_sequence<ResultIs...> /*index_return_types*/,
std::index_sequence<ArgumentIs...> /*index_argument_types*/,
std::index_sequence<MemberArgsIs...> /*index_member_args*/,
TagsList /*meta*/, const double epsilon = 1.0e-12) {
TagsList /*meta*/, double epsilon = 1.0e-12) {
Copy link
Member

Choose a reason for hiding this comment

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

this is fixed more correctly in #1389 so my vote is let's ignore it :) clang-tidy is wrong here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Alright, sounds good. Removed.

@nilsdeppe
Copy link
Member

clang-tidy failure is false positive address in #1389

@nilsdeppe nilsdeppe merged commit 1fd7143 into sxs-collaboration:develop Feb 27, 2019
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.

None yet

3 participants