feat (exm): sincos example
This commit is contained in:
parent
9a0d22e880
commit
d398989ece
6 changed files with 87 additions and 58 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue