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
I pulled this repository, following the steps of page 344-346 i received this error:
Microsoft.AspNetCore.Server.Kestrel[13]
Connection id "0HLNNMLQLRAUU", Request id "0HLNNMLQLRAUU:00000001": An unhandled exception was thrown by the application.
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: count
at System.Linq.Enumerable.Range(Int32 start, Int32 count)
at Optimizer.MortgageController.GetBestRepaymentDate(Decimal AmountRepaid, Decimal ReplacementFixRate, Mortgage m) in /app/MortgageController.cs:line 18
at lambda_method(Closure , Object , Object[] )
The text was updated successfully, but these errors were encountered:
My guess is that you have used values for the dates of repayment that do not correspond to a realistic situation. Since the repayment will be calculated at the current month, the end date of the mortgage (begin date + length) has to be in the future when you click on the button. Please tell me if adjusting this works for you.
I pulled this repository, following the steps of page 344-346 i received this error:
The text was updated successfully, but these errors were encountered: