Skip to content

Compile error in MeshNoise/test/itkAdditiveGaussianNoiseMeshFilterTest.cxx:56 #5174

@seanm

Description

@seanm

I've been playing with building ITK with different build settings enabled/disabled, and a few times I've hit this error:

/Users/sean/external/ITK/Modules/Remote/MeshNoise/test/itkAdditiveGaussianNoiseMeshFilterTest.cxx:56:20: error: no viable conversion from 'const double' to 'VectorType' (aka 'Vector<float, 3U>')
   56 |   sphere->SetScale(SPHERE_SCALE);
      |                    ^~~~~~~~~~~~

I'm not even sure which thing I turned on that made this code build. I understand that MeshNoise is a remote module, but for the life of me I don't see any Module_MeshNoise to turn OFF.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:BugInconsistencies or issues which will cause an incorrect result under some or all circumstances

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions