diff --git a/func/func.v b/func/func.v index 537281c1a..d2de8a1e9 100644 --- a/func/func.v +++ b/func/func.v @@ -13,6 +13,7 @@ pub type VectorValuedFn = fn (x f64, y []f64, params []f64) f64 // Definition of an arbitrary function with parameters pub struct Fn { +pub: f ArbitraryFn @[required] mut: params []f64