Skip to content

Conversation

mintar
Copy link
Contributor

@mintar mintar commented May 2, 2018

Changes:

  • 1febf00

    pcl_visualizer: Fix typo in comment

  • fe04456

    Make GlasbeyLUT at() and size() consistent

    Without this, code such as this:

     size_t i = 10000;
    pcl::RGB color = pcl::GlasbeyLUT::at(i % pcl::GlasbeyLUT::size());
    

    ... produces the warning Parameter type mismatch: Values of type 'size_t' may not fit into the receiver type 'unsigned int'.

mintar added 2 commits May 2, 2018 16:13
Without this, code such as this:

    size_t i = 10000;
    pcl::RGB color = pcl::GlasbeyLUT::at(i % pcl::GlasbeyLUT::size());

... produces the warning "Parameter type mismatch: Values of type
'size_t' may not fit into the receiver type 'unsigned int'".
@taketwo taketwo merged commit 566593b into PointCloudLibrary:master May 2, 2018
@SergioRAgostinho SergioRAgostinho added changelog: ABI break Meta-information for changelog generation module: common labels Aug 26, 2018
@SergioRAgostinho SergioRAgostinho changed the title Tiny fixes: Typo + function type Modified GlasbeyLUT indexing type to size_t Aug 26, 2018
@taketwo taketwo mentioned this pull request Sep 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog: ABI break Meta-information for changelog generation module: common
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants