Subject: | |
From: | |
Reply To: | |
Date: | Thu, 17 Sep 2015 10:27:44 +0200 |
Content-Type: | multipart/mixed |
Parts/Attachments: |
|
|
Thanks for the update. I think I found a bug now. A lookup with
Grid2D.ANY should return at least the same locations as Grid2D.CENTER,
as far as I understand. But this does not work if a value smaller
sqrt(0.5) is passed as dist. ANY will return 0 locations then, but
CENTER returns 1 (the origin), which is correct and should be reported
by ANY as well.
You can also look at the attached JUnit test.
Best regards,
Christian
On 15.09.2015 18:32, Sean Luke wrote:
> Agreed. I just updated them to do that. See the respository.
>
> Sean
>
> On Sep 15, 2015, at 9:42 AM, Christian Meyer <[log in to unmask]> wrote:
>
>> Hi all,
>>
>> in Grid2D interface getRadialLocations is defined with a double value for 'dist'. But getRadialNeighbors in all implementing classes uses an int for 'dist', although the value is only passed.
>>
>> Implementing classes should accept double values in getRadialNeighbors as well.
>>
>> Best regards,
>> Christian
|
|
|