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

Show trace now #6

Merged
merged 1 commit into from
Aug 13, 2024
Merged

Show trace now #6

merged 1 commit into from
Aug 13, 2024

Conversation

ocots
Copy link
Member

@ocots ocots commented Aug 12, 2024

No description provided.

@ocots ocots linked an issue Aug 12, 2024 that may be closed by this pull request
@@ -72,10 +89,9 @@ The main goal now is to find the zero of $S$. To this purpose, we use the numeri
ξ = [-1.0] # initial guess
S!(s, ξ) = (s[:] .= S(ξ[1]); nothing) # intermediate function
p0_sol = fsolve(S!, ξ, show_trace = true) # solve
println(p0_sol)
Copy link
Member Author

Choose a reason for hiding this comment

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

@remydutto J'ai juste ajouté un print après et la trace est montrée. Pas clair...

@@ -37,6 +37,23 @@ end
nothing # hide
```

```@setup main
Copy link
Member Author

Choose a reason for hiding this comment

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

@remydutto J'ai ajouté ça c'est juste pour moi car hybrj ne fonctionne pas sur ma machine mais hybrd oui. En gros ça essaie de lancer hybrj et si ça ne fonctionne pas ça switch sur hybrd avec un petit message. Pour la doc en ligne il n'y aura pas de soucis.

@@ -5,7 +5,7 @@ makedocs(
sitename = "Geometric preconditioner",
format = Documenter.HTML(
prettyurls = false,
#size_threshold_ignore = [""],
size_threshold_ignore = ["2D-example.md"],
Copy link
Member Author

Choose a reason for hiding this comment

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

@remydutto J'ai ajouté ça car le fichier est trop long. C'est pour éviter les warnings puis les erreurs.

@@ -5,3 +5,7 @@ ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
MINPACK = "4854310b-de5a-5eb6-a2a5-c1dee2bd17f9"
OptimalControl = "5f98b655-cc9a-415a-b60e-744165666948"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"

[compat]
MINPACK = "1.3"
Copy link
Member Author

Choose a reason for hiding this comment

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

@remydutto Je fixe cette version qui est la dernière car avec certains packages ça demande une version plus ancienne. Je pense que dans le cas ici ce n'est pas utile mais de toute façon, il faudra fixer toutes les versions une fois que cela marchera.

@ocots
Copy link
Member Author

ocots commented Aug 12, 2024

@remydutto Je ne suis pas fan de cacher les using. Ca peut se mettre avant si tu veux. Si quelqu'un veut faire des copier-coller c'est toujours plus sympa d'avoir tout le code.

@ocots
Copy link
Member Author

ocots commented Aug 12, 2024

@remydutto Quand tous les tests sont faits, tu peux merge et supprimer la branche.

@remydutto remydutto merged commit 1f3afa5 into main Aug 13, 2024
2 checks passed
@remydutto remydutto deleted the 5-print-the-trace-in-the-documentation branch August 13, 2024 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Print the trace in the documentation
2 participants