From 9de3be62d332270745d8ca8d4e04726636db38c7 Mon Sep 17 00:00:00 2001 From: Don Cross Date: Mon, 24 Aug 2020 21:06:50 -0400 Subject: [PATCH] Made a change to astronomy.cs template that didn't get checked in. --- source/csharp/astronomy.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/csharp/astronomy.cs b/source/csharp/astronomy.cs index 17cdf6d0..3abbb217 100644 --- a/source/csharp/astronomy.cs +++ b/source/csharp/astronomy.cs @@ -3263,7 +3263,7 @@ namespace CosineKitty { int index = (int) Math.Floor(frac); if (index < 0) - return index; + return 0; if (index >= nsteps) return nsteps-1; return index;