Skip to content

Commit

Permalink
Set publicly used Fn.f field to pub
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Apr 5, 2024
1 parent 5f09b7f commit 1febf73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions func/func.v
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1febf73

Please sign in to comment.