Skip to content

Commit

Permalink
Merge pull request #58 from jhunkeler/iter-dynamic-xorder
Browse files Browse the repository at this point in the history
Use local xorder instead of s->xorder
  • Loading branch information
jhunkeler authored Mar 6, 2025
2 parents 38894a4 + 589bba5 commit 21959be
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
- run: python waf configure build
- run: pip install "numpy==${{ matrix.numpy }}"
- run: pip freeze
- run: pytest -rsv
- run: pytest -vvv -rs
test_with_coverage:
name: run tests with coverage
needs: [ test ]
Expand All @@ -86,7 +86,7 @@ jobs:
- run: python get_waf.py
- run: python waf configure build
- run: pip freeze
- run: pytest -rsv --cov=./ --cov-report=xml --cov-report term-missing
- run: pytest -vvv -rs --cov=./ --cov-report=xml --cov-report term-missing
- uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1
with:
files: ./coverage.xml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_devdeps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ jobs:
- run: python get_waf.py
- run: python waf configure build
- run: pip freeze
- run: pytest -rsv
- run: pytest -vvv -rs
2 changes: 1 addition & 1 deletion src/surface/fit.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ surface_fit_add_points(

bxp = xbasis;

for (k = 1; k <= s->xorder; ++k) {
for (k = 1; k <= xorder; ++k) {
for (i = 0; i < ncoord; ++i) {
bw[i] = byw[i] * bxp[i];
}
Expand Down
2 changes: 1 addition & 1 deletion test_c/test_c.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
ROOT = os.path.relpath(os.path.join('build', 'test_c'))
TESTS = [
'test_cholesky',
# 'test_geomap', # FIXME: died with Signals.SIGABRT 6
'test_geomap',
'test_lintransform',
'test_surface',
'test_triangles',
Expand Down

0 comments on commit 21959be

Please sign in to comment.