Skip to content

Conversation

@Taskeren
Copy link
Member

@Taskeren Taskeren commented Jan 2, 2026

When the duration of the recipe is REALLY small (1tick), ebfDuration will be zero, and it's used as divisor at L131 DTPFEUt = totalBaseEU / ebfDuration / 10;.

This PR fixes this.

@Taskeren Taskeren requested a review from a team January 2, 2026 18:00
@Taskeren Taskeren added the bug fix Fix a bug. Please link it in the PR. label Jan 2, 2026
@Dream-Master Dream-Master added the 🚧 Testing on Zeta Do not merge yet, testing this PR on Zeta label Jan 2, 2026
Copy link
Member

@UltraProdigy UltraProdigy left a comment

Choose a reason for hiding this comment

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

Makes sense

@UltraProdigy UltraProdigy enabled auto-merge (squash) January 4, 2026 00:22
@UltraProdigy UltraProdigy removed the 🚧 Testing on Zeta Do not merge yet, testing this PR on Zeta label Jan 4, 2026
@UltraProdigy UltraProdigy merged commit e2b1885 into master Jan 4, 2026
4 checks passed
@UltraProdigy UltraProdigy deleted the fix-dtpfcalc-div-zero branch January 4, 2026 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug fix Fix a bug. Please link it in the PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants