You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Specify that keywords are only needed when using only plain functions
- When mixing with VectorField objects, keywords are inferred from VectorField
- Removes ambiguity about when to specify autonomous/variable keywords
@@ -393,7 +393,7 @@ The `@Lie` macro provides a convenient syntax for computing Lie brackets (for ve
393
393
- Plain Julia functions (automatically wrapped as `Hamiltonian`)
394
394
-`Hamiltonian` objects
395
395
396
-
When using plain functions, specify `autonomous` and `variable` keywords as needed to match your function signature.
396
+
When using **only plain functions** (no VectorField objects), specify `autonomous` and `variable` keywords as needed to match your function signature. If you mix plain functions with VectorField objects, the keywords are inferred from the VectorField objects.
0 commit comments