Skip to content

Ability to compile without GNU Scientific Library - #36

Merged
gtheler merged 10 commits into
mainfrom
feature/gsl-optional
Oct 13, 2026
Merged

gtheler merged 10 commits into
mainfrom
feature/gsl-optional

Conversation

@gtheler

@gtheler gtheler commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@gtheler
gtheler requested a balanced review from Copilot October 8, 2026 14:54
@gtheler gtheler self-assigned this Oct 8, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The tennis model reverses the stated top-spin effect, references a missing image, and introduces substantial unrelated scope.

13 open findings
What changed in this PR

Makes GSL optional while preserving clear runtime errors for GSL-only functions. It also includes unrelated example and documentation updates.

Changes:

  • Adds conditional GSL detection, runtime errors, and regression coverage.
  • Adds a tennis-ball DAE example and generated documentation.
  • Refreshes installation, mechanical-example, changelog, and document metadata.
File Description
tests/​special-functions-gsl.sh Tests GSL-dependent built-ins.
src/​math/​builtin_functions.c Handles unavailable GSL functions.
README.md Updates installation command.
README.markdown Mirrors installation update.
README Mirrors installation update.
Makefile.am Registers conditional GSL test.
examples/​tennis.yaml Defines tennis example metadata.
examples/​tennis.gp Plots tennis trajectories.
examples/​tennis.fee Implements tennis DAE model.
examples/​README.markdown Links the tennis example.
examples/​mechanical.md Refreshes mechanical documentation.
examples/​mechanical.markdown Mirrors mechanical documentation.
examples/​make.sh Adds tennis page generation.
examples/​examples.md Links the tennis example.
examples/​daes.md Adds generated tennis documentation.
examples/​daes.markdown Adds alternate generated documentation.
examples/​.gitignore Ignores tennis outputs.
doc/​feenox.1 Updates manual date.
doc/​FAQ.markdown Updates document date.
doc/​CODE_OF_CONDUCT.markdown Updates document date.
configure.ac Exposes GSL availability to Automake.
ChangeLog.md Records optional-GSL support and typo fix.

🧠 Review effort: Balanced


Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.

Comment thread examples/daes.markdown Outdated
Comment thread examples/daes.md Outdated
Comment thread examples/tennis.fee Outdated
Comment thread examples/daes.markdown
Comment on lines +1320 to +1321
<img src="tennis-top.svg"
alt="Effect of top spin in the trajectory of a tennis ball" />
Comment thread examples/daes.md
```


![Effect of top spin in the trajectory of a tennis ball](tennis-top.svg)
Comment thread examples/daes.md Outdated
Comment thread examples/mechanical.markdown Outdated
Comment thread examples/mechanical.md Outdated
Comment thread examples/tennis.fee
@@ -0,0 +1,68 @@
PHASE_SPACE x vx y vy theta omega Fy Fx tau
Comment thread examples/tennis.fee Outdated
gtheler and others added 5 commits October 8, 2026 12:04
Corrected the signs of the Magnus force equations for Fx and Fy.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Corrected the signs for the Magnus force calculations.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@gtheler
gtheler merged commit 21e9f09 into main Oct 13, 2026
1 check passed
@gtheler
gtheler deleted the feature/gsl-optional branch October 13, 2026 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants