mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-16 17:22:55 +00:00
Merge topic 'remove_lines_with_only_semicolon'
a487017f Remove lines that only contain a semi-colon. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !886
This commit is contained in:
commit
0c435d39f4
@ -160,7 +160,6 @@ public:
|
||||
Compare comp)
|
||||
{
|
||||
using KeyType = vtkm::cont::ArrayHandle<T, StorageT>;
|
||||
;
|
||||
if (sizeof(U) > sizeof(vtkm::Id))
|
||||
{
|
||||
/// More efficient sort:
|
||||
|
@ -103,7 +103,6 @@ struct TemplatedTests
|
||||
VTKM_TEST_ASSERT(implictHandle.GetNumberOfValues() == 1, "handle should have size 1");
|
||||
VTKM_TEST_ASSERT(implictHandle.GetPortalConstControl().Get(0) == T(1),
|
||||
"portals first values should be 1");
|
||||
;
|
||||
}
|
||||
|
||||
void operator()()
|
||||
|
@ -226,7 +226,7 @@ int DecodePNG(std::vector<unsigned char>& out_image,
|
||||
HuffmanTree& treeD) //get the tree of a deflated block with fixed tree
|
||||
{
|
||||
std::vector<unsigned long> bitlen(288, 8), bitlenD(32, 5);
|
||||
;
|
||||
|
||||
for (std::size_t i = 144; i <= 255; i++)
|
||||
bitlen[i] = 9;
|
||||
for (std::size_t i = 256; i <= 279; i++)
|
||||
|
@ -407,6 +407,7 @@ public:
|
||||
|
||||
for (segment = 0; index >= Segments[segment + 1]; ++segment)
|
||||
;
|
||||
|
||||
if (segment >= 6)
|
||||
{
|
||||
printf("OUT OF BOUDNS %d", (int)index);
|
||||
@ -653,7 +654,6 @@ public:
|
||||
|
||||
vtkm::Float64 time = timer.GetElapsedTime();
|
||||
Logger::GetInstance()->AddLogData("structured_external_faces", time);
|
||||
;
|
||||
|
||||
return triangles;
|
||||
}
|
||||
|
@ -105,7 +105,6 @@ public:
|
||||
p[1] = position[1] / position[3];
|
||||
p[2] = position[2] / position[3];
|
||||
p = p - Origin;
|
||||
;
|
||||
|
||||
maxDistance = vtkm::Magnitude(p);
|
||||
}
|
||||
|
@ -75,7 +75,6 @@ struct Spline3rdOrder : public KernelBase<Spline3rdOrder<Dimensions>>
|
||||
{
|
||||
double q2 = (2.0 - Q);
|
||||
return scale_W_ * (1.0 / 4.0) * (q2 * q2 * q2);
|
||||
;
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -98,7 +97,6 @@ struct Spline3rdOrder : public KernelBase<Spline3rdOrder<Dimensions>>
|
||||
{
|
||||
double q2 = (2.0 - Q);
|
||||
return scale_W_ * (1.0 / 4.0) * (q2 * q2 * q2);
|
||||
;
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -122,7 +120,6 @@ struct Spline3rdOrder : public KernelBase<Spline3rdOrder<Dimensions>>
|
||||
{
|
||||
double q2 = (2.0 - Q);
|
||||
return scale_W * (1.0 / 4.0) * (q2 * q2 * q2);
|
||||
;
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -146,7 +143,6 @@ struct Spline3rdOrder : public KernelBase<Spline3rdOrder<Dimensions>>
|
||||
{
|
||||
double q2 = (2.0 - Q);
|
||||
return scale_W * (1.0 / 4.0) * (q2 * q2 * q2);
|
||||
;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user