Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(fix-163): fix tv_umur0 calculation #164

Merged
merged 1 commit into from
Nov 5, 2024
Merged

Conversation

jgavignet
Copy link
Collaborator

Close #163

@jgavignet jgavignet requested review from michaeldesigaud, fperinel and jzck and removed request for michaeldesigaud November 4, 2024 18:01
Copy link
Contributor

@trecouvr trecouvr left a comment

Choose a reason for hiding this comment

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

Je me demande si ça ne va pas faire bugger les match pour les tvs coef_reduction_deperdition et generateur_combustion.

https://github.com/jzck/Open3CL/blob/main/src/3.1_b.js#L60-L81
https://github.com/jzck/Open3CL/blob/main/src/13.2_generateur_combustion.js#L15

Peut etre qu'il faudrait mieux utiliser le meme procéder que ces deux matchers plutot que de modifier la fonction tvMatch ?

@jgavignet jgavignet marked this pull request as draft November 5, 2024 07:31
src/utils.js Outdated Show resolved Hide resolved
@michaeldesigaud michaeldesigaud added the bug Something isn't working label Nov 5, 2024
@jgavignet
Copy link
Collaborator Author

@trecouvr l'idée c'est d'alléger un maximum le temps d'exécution de la lib notamment sur les matcher. Parcourir les éléments et faire des evals plusieurs fois est consommateur.

J'ai ajouté un Number.isInteger(match_value) pour être sur de ne pas faire de régression sur les parties combustion (qui seront revue un peu avec #165

@jgavignet jgavignet marked this pull request as ready for review November 5, 2024 08:29
@jgavignet jgavignet merged commit 154cb83 into jzck:main Nov 5, 2024
1 check passed
@jgavignet jgavignet deleted the tvMur0 branch January 23, 2025 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mauvaise correction tv_umur0
3 participants