You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@slot721 - I'm still figuring out the codebase but here is what I did to keep it running. Keep in mind that today is my first day playing with this and I am on Ubuntu and not MacOS, so take any of my suggested advice here cautiously. In src/models/plan_analysis.rs, at line 47 there is 'let best_plan' etc. I changed it from this:
let best_plan = plans.iter() .max_by(|a, b| a.score.partial_cmp(&b.score).unwrap());
Modified line: using unwrap_or to handle None case from partial_cmp
to this: let best_plan = plans.iter() .max_by(|a, b| a.score.partial_cmp(&b.score).unwrap_or(std::cmp::Ordering::Equal));
The error occurs in src/models/plan_analysis.rs at line 48, in the file where the unwrap() method is being called.
Im on ubuntu with this start cmd:
cargo run --release -- --name sLoTTeR --mission "Explore emergent behaviors in decentralized systems"
here are the final lines of the log before the panic:
The text was updated successfully, but these errors were encountered: