number of vertices in OptiX 7 sample

in OptiX 7.0.0 SDK samples:

in optixCutouts.cpp in line 660 in function buildGeomAccel():

const size_t vertices_size_in_bytes = g_vertices.size() * sizeof( Vertex );
...
triangle_input.triangleArray.numVertices                 = static_cast<uint32_t>( g_vertices.size() * 3 );

shouldn’t this line be instead this one :

triangle_input.triangleArray.numVertices                 = static_cast<uint32_t>( g_vertices.size() );

as in other samples:
for example in optixMultiGPU.cpp in function :

triangle_input.triangleArray.numVertices                 = static_cast<uint32_t>( g_vertices.size() );

Yes, that is wrong inside the OptiX SDK 7.0.0. It’s already fixed internally.