change step of goal seek
This commit is contained in:
parent
25f3f16cf4
commit
a302143d71
@ -50,9 +50,6 @@ namespace EvoCalculator.Core.Calculation.Columns
|
||||
|
||||
public override void ComputeValues(decimal requiredValue)
|
||||
{
|
||||
var DIFFICULT_CASE = _percentPaymentColumn.Values.Take(_percentPaymentColumn.Values.Length - 1)
|
||||
.Any(x => x < 3 && x > 0);
|
||||
|
||||
var NUMBER_OF_RATHER_50 = _percentPaymentColumn.Values
|
||||
.Skip(2)
|
||||
.Take(_percentPaymentColumn.Values.Length - 1)
|
||||
@ -64,7 +61,7 @@ namespace EvoCalculator.Core.Calculation.Columns
|
||||
startingStabPoint:
|
||||
(_postValues.BaseCost.Value - _preparedValues.FirstPaymentSum) / NUMBER_OF_RATHER_50
|
||||
, maximumAttempts: 1000
|
||||
, initialTineSpacing: DIFFICULT_CASE ? 10000m : 1000m
|
||||
, initialTineSpacing: (_postValues.BaseCost.Value - _preparedValues.FirstPaymentSum) / _preparedValues.Nmper
|
||||
// , focusPercentage: 50
|
||||
));
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user