Conversation
|
Sur votre terminal, allez sur la branche de la PR : Récupérez les fichiers (via la méthode git checkout vue plus haut) : Validez et envoyez : git add . git commit -m "Ajout des fichiers manquants" git push origin feature-bouton |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 461afdf825
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| tf_guess = 2.0 | ||
| init = ( | ||
| state = t -> [ | ||
| x0 + (t - t0) / (tf_guess - t0) * (xf - x0), |
There was a problem hiding this comment.
Guard initial guess against t0=tf_guess division by zero
The initial state guess divides by tf_guess - t0, so overriding parameters with t0 = 2.0 (which the API allows) makes this denominator zero and yields NaN/Inf in the initialization passed to direct_transcription. In that scenario the problem setup can fail before optimization starts; the same pattern appears in the _s variant too, so both backends are affected for this input.
Useful? React with 👍 / 👎.
No description provided.