mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-05-24 08:45:55 -04:00
Made a change to astronomy.cs template that didn't get checked in.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user