Skip to content

Confusing line of code in geo::BoxBoundedGeo #43

@PetrilloAtWork

Description

@PetrilloAtWork

This line is certainly confusing:

((lastPointCoord() > maxCoord()) || (lastPointCoord() < minCoord))) {

with maxCoord being "called" and minCoord being not.
It is correct, in that their opaque type can both convert to "scalar" (a plain value) or be called and return that same value, but reading the code strongly smells of bug.
It may be worth to schedule a uniforming change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions