We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Bin edges are calculated as
depth_bin_edges = np.concatenate( ( [np.min(depth_bin) - dz / 2], 0.5 * (depth_bin[1:] + depth_bin[:-1]), [np.max(depth_bin) - dz / 2], ) )
This leads to an array of edges with the same last and second-to-last element. Shouldn't it be:
depth_bin_edges = np.concatenate( ( [np.min(depth_bin) - dz / 2], 0.5 * (depth_bin[1:] + depth_bin[:-1]), [np.max(depth_bin) + dz / 2], ) )
with the sign changed in the last line?
The text was updated successfully, but these errors were encountered:
Fix error in shearstrain notebook (#112)
a5c3b06
Closes #111.
Successfully merging a pull request may close this issue.
Bin edges are calculated as
This leads to an array of edges with the same last and second-to-last element.
Shouldn't it be:
with the sign changed in the last line?
The text was updated successfully, but these errors were encountered: