Skip to content

Fix precompilation on Julia LTS - #231

Closed
mtfishman wants to merge 1 commit into
mainfrom
mf/one-binding
Closed

mtfishman wants to merge 1 commit into
mainfrom
mf/one-binding

Conversation

@mtfishman

Copy link
Copy Markdown
Member

Summary

Fixes precompilation on Julia LTS. TensorAlgebra.one is a tensor generalization rather than an extension of Base.one, but its docstring ended with a bare one instead of function one end, so the module never got its own binding and Julia 1.10 rejected the method definitions as extending Base.one without importing it. Declared now the way dual and isdual are.

Fixes precompilation on Julia LTS. `TensorAlgebra.one` is a tensor generalization rather than an extension of `Base.one`, but its docstring ended with a bare `one` instead of `function one end`, so the module never got its own binding and Julia 1.10 rejected the method definitions as extending `Base.one` without importing it. Declared now the way `dual` and `isdual` are.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@codecov

codecov Bot commented Sep 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.64%. Comparing base (a62faa3) to head (783d892).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #231      +/-   ##
==========================================
+ Coverage   74.78%   79.64%   +4.85%     
==========================================
  Files          27       28       +1     
  Lines        1047     1056       +9     
==========================================
+ Hits          783      841      +58     
+ Misses        264      215      -49     
Flag Coverage Δ
docs 22.07% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mtfishman mtfishman closed this Sep 14, 2026
@mtfishman
mtfishman deleted the mf/one-binding branch September 14, 2026 14:56
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.

1 participant