Skip to content

Extract shared parallelBatchFit into framework helper #18

@OldCrow

Description

@OldCrow

ExponentialDistribution::parallelBatchFit and GaussianDistribution::parallelBatchFit are textually identical (PMD CPD confirmed). Extract the shared thread-pool submission, error-recording, and fallback logic into a reusable framework helper. Each distribution delegates to it, keeping only the per-distribution fit() call at the call site.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions