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

CI: Setup new CI testing using GitHub Actions #79

Merged
merged 10 commits into from
Jan 11, 2022
Prev Previous commit
Next Next commit
BUG: Print correct variable in assert
carterbox committed Jan 11, 2022
commit 4eade6966d25e5fa3492040f7bcfc35810062098
2 changes: 1 addition & 1 deletion src/xdesign/metrics/standards.py
Original file line number Diff line number Diff line change
@@ -362,7 +362,7 @@ def periodic_function(p, x):
"""
# x = w * theta
value = p[0] + p[1] * np.sin(x) + p[2] * np.cos(x)
assert (value.shape == x.shape), (value.shape, theta.shape)
assert (value.shape == x.shape), (value.shape, x.shape)
assert (not np.any(np.isnan(value)))
return value