jlewi / foyle

Foyle is a copilot to help developers deploy and operate their applications.
https://foyle.io
Apache License 2.0
108 stars 9 forks source link

Fix segfault in learner. #256

Closed jlewi closed 1 month ago

jlewi commented 1 month ago

When learner is initialized at program startup we want to initialize an empty array because learned examples might arrive during program execution.

If we have a nil matrix to store them we will get a segfault.

Ensuring a matrix is always initialized at startup is one way to solve this.

Follow up to #252

netlify[bot] commented 1 month ago

Deploy Preview for foyle canceled.

Name Link
Latest commit d89386e60a3e4732f3c46dee89781119b0c79af2
Latest deploy log https://app.netlify.com/sites/foyle/deploys/66f573aec9ff5d0008d883f0