Files
astronomy/generate/commit_hook
Don Cross f66515deb4 Attempting to diagnose recent changes in Python calculations.
It looks like values returned by VsopModel() are inconsistent
running the same code on different hardware.
On my system, Python and C are producing nearly identical results,
but in GitHub Actions, I'm getting errors on the order of 1e-12.

I'm beginning a series of commits in a separate branch where
I can hack the code to debug my code where it fails, which is
unfortunately only on GitHub Actions.
2024-05-28 16:40:26 -04:00

9 lines
220 B
Plaintext
Executable File

#/bin/bash
[[ -d generate ]] && cd generate
python3 test.py precision || exit $?
rm -f output/vsop*.txt output/*.eph output/jupiter_moons.txt
./run || exit $?
./verify_clean || exit $?
echo "commit_hook: SUCCESS"
exit 0