Skip to content

Make finite(Field2D), finite(Field3D) behave identically#607

Merged
ZedThree merged 1 commit intonextfrom
finite-fix
Jul 12, 2017
Merged

Make finite(Field2D), finite(Field3D) behave identically#607
ZedThree merged 1 commit intonextfrom
finite-fix

Conversation

@ZedThree
Copy link
Member

finite(Field2D) uses ASSERT0(f.isAllocated()), whereas finite(Field3D) just returns false if the field is not allocated.

We should probably be consistent. It looks like everywhere finite(Field2D) is used, we handle non-finite cases anyway.

The Field2D version used ASSERT0 when checking if the field is
allocated, whereas the Field3D just return false if not allocated
@ZedThree ZedThree merged commit 6cbcc98 into next Jul 12, 2017
@ZedThree ZedThree deleted the finite-fix branch July 12, 2017 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants