Skip to content

Commit b0a0d43

Browse files
committed
Fixed compiler warning in compareParticles
1 parent 2b843c5 commit b0a0d43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/TestTools.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ inline int compareMeshes(const PixelData<T> &expected, const PixelData<T> &teste
8181

8282

8383
template <typename T>
84-
inline size_t compareParticles(const ParticleData<T> &expected, const ParticleData<T> &tested, double maxError = 0.0001, int maxNumOfErrPrinted = 10) {
85-
size_t cnt = 0;
84+
inline int64_t compareParticles(const ParticleData<T> &expected, const ParticleData<T> &tested, double maxError = 0.0001, int maxNumOfErrPrinted = 10) {
85+
int64_t cnt = 0;
8686
if(expected.size() != tested.size()) {
8787
std::cerr << "ERROR compareParticles: sizes differ!" << std::endl;
8888
cnt++;

0 commit comments

Comments
 (0)