Skip to content

Commit

Permalink
Add empty constructor to factory and move factory to weibull group in…
Browse files Browse the repository at this point in the history
… AlgorithmFactories
  • Loading branch information
norellia committed Dec 1, 2023
1 parent e8522c3 commit 6008bbb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ public class WeibullPerSpeciesCarryingCapacitiesFromFileFactory
private IntegerParameter targetYear;
private InputPath fadCarryingCapacityFile;

public WeibullPerSpeciesCarryingCapacitiesFromFileFactory() {
}

public WeibullPerSpeciesCarryingCapacitiesFromFileFactory(
final InputPath fadCarryingCapacityFile,
final IntegerParameter targetYear,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -822,10 +822,9 @@ public class AlgorithmFactories {
addFactories(new Factories<>(
CarryingCapacityInitializer.class,
MaximumPerSpeciesCarryingCapacitiesFactory.class,
WeibullPerSpeciesCarryingCapacitiesFactory.class
));
addFactories(new Factories<>(
WeibullPerSpeciesCarryingCapacitiesFactory.class,
WeibullPerSpeciesCarryingCapacitiesFromFileFactory.class

));
addFactories(new Factories<>(
FishValueCalculator.class,
Expand Down

0 comments on commit 6008bbb

Please sign in to comment.