Skip to content

Commit

Permalink
fixed bug in test for forthorder derivatives and updated github actio…
Browse files Browse the repository at this point in the history
…n name
  • Loading branch information
ThomasHelfer committed Dec 21, 2023
1 parent 61423b4 commit 632ac79
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/actions.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Python application test
name: Unittests

on:
push:
Expand Down
7 changes: 3 additions & 4 deletions GeneralRelativity/test_FourthOrderDerivatives.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ def test_compare_diff_with_reference():
computed derivatives are within a specified tolerance of the reference derivative data.
"""
# Define the path to the test data files for variable X
filenamesX = (
os.path.dirname(os.path.abspath(sys.argv[0])) + "/TestData/Xdata_level0_step*"
)

filenamesX = os.path.dirname(__file__) + "/TestData/Xdata_level0_step*"
print(filenamesX)
print(filenamesX)
# Number of variables in the data
num_varsX = 100

Expand Down

0 comments on commit 632ac79

Please sign in to comment.