-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Add a prefix for Poisson as CTParser here:
CTFlows.jl/src/differential_geometry.jl
Lines 584 to 597 in 7c734fd
| function fun(x) | |
| @match (@capture(x, [a_, b_]), @capture(x, {c_, d_})) begin | |
| #(true, false) => :( Lie($a, $b; autonomous=$autonomous, variable=$variable)) | |
| (false, true) => quote | |
| if ($c isa Function && $d isa Function) | |
| Poisson($c, $d; autonomous=$autonomous, variable=$variable) | |
| else | |
| Poisson($c, $d) | |
| end | |
| end | |
| (false, false) => x | |
| _ => error("internal error") | |
| end | |
| end |
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request