Skip to content

Debug TimestepDidNotMatch test#49

Closed
AndyZe wants to merge 1 commit into
remove_excessive_deriv_calcsfrom
debug_TimestepDidNotMatch_test
Closed

Debug TimestepDidNotMatch test#49
AndyZe wants to merge 1 commit into
remove_excessive_deriv_calcsfrom
debug_TimestepDidNotMatch_test

Conversation

@AndyZe

@AndyZe AndyZe commented Apr 22, 2020

Copy link
Copy Markdown
Contributor

The problem was moving forward this many elements in downSample():

new_positions[count] = (*position_vector)[count * num_elements_to_skip];

The new version is:

new_positions[count] = (*position_vector)[last_element_pulled_from_beginning + num_elements_to_skip];

I realize this calculation is made repeatedly and could be optimized, but I left it to help readability. Willing to change that, though: last_element_pulled_from_beginning + num_elements_to_skip

@AndyZe AndyZe force-pushed the debug_TimestepDidNotMatch_test branch from db67ba8 to ed73955 Compare April 22, 2020 18:27
@AndyZe AndyZe requested a review from nbbrooks April 22, 2020 18:29
@AndyZe AndyZe changed the title Debug timestep did not match test Debug TimestepDidNotMatch test Apr 22, 2020
@AndyZe

AndyZe commented Jun 30, 2020

Copy link
Copy Markdown
Contributor Author

superseded by #58

@AndyZe AndyZe closed this Jun 30, 2020
@AndyZe AndyZe deleted the debug_TimestepDidNotMatch_test branch November 23, 2021 18:46
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.

1 participant