Commit 78d9c64
Fix method overwriting error during precompilation on Apple Silicon
Resolves #768 by using Union type for fallback init_cacheval methods
The issue was that individual fallback methods for BLISLUFactorization,
CudaOffloadLUFactorization, and MetalLUFactorization had the same signatures
as their extension counterparts, causing method overwriting during precompilation
when LinearSolveAutotune is loaded.
This change consolidates the three individual fallback methods into a single
method using a Union type, which avoids the signature conflict while maintaining
the same functionality.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent 1090c5e commit 78d9c64
1 file changed
+3
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1203 | 1203 | | |
1204 | 1204 | | |
1205 | 1205 | | |
1206 | | - | |
1207 | | - | |
1208 | | - | |
1209 | | - | |
1210 | | - | |
1211 | | - | |
1212 | | - | |
1213 | | - | |
1214 | | - | |
1215 | | - | |
1216 | | - | |
1217 | | - | |
1218 | | - | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
1219 | 1209 | | |
1220 | 1210 | | |
1221 | 1211 | | |
| |||
0 commit comments