Params: add recursion depth param

This commit is contained in:
Akemi Izuko 2023-11-18 00:14:44 -07:00
parent e0535acc91
commit 393349cad5
Signed by: akemi
GPG key ID: 8DE0764E1809E9FC
2 changed files with 7 additions and 5 deletions

View file

@ -64,16 +64,17 @@
get_instant = 0.0
[types.gen_integer]
expr_add = 0.0
expr_sub = 0.0
expr_mul = 0.0
expr_div = 0.0
expr_add = 0.2
expr_sub = 0.2
expr_mul = 0.1
expr_div = 0.1
expr_rem = 0.0
expr_exp = 0.0
expr_pos = 0.0
expr_neg = 0.0
get_instant = 0.0
get_instant = 0.4
max_depth = 20
[types.gen_real]
expr_add = 0.0

View file

@ -132,6 +132,7 @@ toml_struct!{
expr_pos: f64,
expr_neg: f64,
get_instant: f64,
max_depth: u32,
}
}