Skip to content

Commit c55ead7

Browse files
Update run.sh
1 parent fe8aa62 commit c55ead7

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

examples/TwoBodies/run.sh

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
11
#!/bin/sh
22

3-
# Absolute path to the directory containing this script
4-
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
5-
6-
# Project root = two levels up
7-
ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"
8-
9-
# Run the executable from the root
10-
"$ROOT/next" "$SCRIPT_DIR/two_bodies.txt"
3+
../../next two_body.txt 0.001 1

0 commit comments

Comments
 (0)