feat (exm): sincos example

This commit is contained in:
Henri Saudubray 2025-04-29 15:33:57 +02:00
parent 9a0d22e880
commit d398989ece
Signed by: hms
GPG key ID: 7065F57ED8856128
6 changed files with 87 additions and 58 deletions

View file

@ -52,3 +52,7 @@ let bouncing_ball () =
horizon = (fun _ -> max_float);
cset; cget; zset; reset; jump; zsize }
let errmsg = "Too many arguments for the model (needed: 0)"
let bouncing_ball = function
| [] -> bouncing_ball ()
| _ -> raise (Invalid_argument errmsg)