cschwan / cschwan/mcintir

Reduce code duplication

Open
#6 1 comment 0 reactions 1 assignee Claimed by @FractalArt View on GitHub
enhancement good first issue
Dominant language
Rust
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

There is a lot of duplicated code in the functions [integrators::plain::integrate()](https://github.com/cschwan/mcintir/blob/2640e0ce2cf355ac498f7837de82aebccad478c1/src/integrators/plain.rs#L277) and [integrators::plain::resume_integration_from_checkpoints()](https://github.com/cschwan/mcintir/blob/2640e0ce2cf355ac498f7837de82aebccad478c1/src/integrators/plain.rs#L170) that could potentially be reduced by factoring out the main skeleton in a helper function.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.