Commit e432821
Fix cross-platform compilation and API compatibility
- Resolved type compatibility issues between macOS and Linux
- Fixed get_loop_recommendations function return type (string vs bytes)
- Used mixed types approach for getDynamicCarbsOnBoard (Double for carbRatio, LoopQuantity for ISF)
- 15/16 tests now pass on macOS (only getDynamicCarbsOnBoard has remaining unit conversion issue)
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 3d8f7d4 commit e432821
3 files changed
Lines changed: 4 additions & 3 deletions
File tree
- Sources/LoopAlgorithmToPython
- loop_to_python_api
- dlibs/macos
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
438 | 438 | | |
439 | 439 | | |
440 | 440 | | |
441 | | - | |
| 441 | + | |
442 | 442 | | |
443 | | - | |
| 443 | + | |
444 | 444 | | |
445 | 445 | | |
446 | 446 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
| 152 | + | |
152 | 153 | | |
153 | 154 | | |
154 | 155 | | |
| |||
Binary file not shown.
0 commit comments