Skip to content

Commit 8e475c1

Browse files
committed
fix warning for print type mismatch
1 parent 6fbddbe commit 8e475c1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/test_matvec_mult.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
#include <Kokkos_Core.hpp>
66
#include <catch2/catch_test_macros.hpp>
7-
#include <iostream>
87

98
#include "MatVecMult.h"
109
#include "catch2/matchers/catch_matchers_floating_point.hpp"
@@ -85,7 +84,7 @@ TEST_CASE("Test matrix-vector multiplication") {
8584

8685
// Expected result
8786
std::vector<double> expected_y = {5.0, 9.0, 18.0};
88-
printf("y size = %d\n", y_h.size());
87+
printf("y size = %zu\n", y_h.size());
8988
REQUIRE(y_h.size() == N);
9089
for (int i = 0; i < N; ++i) {
9190
printf("Expected y[%d] = %f, Actual y[%d] = %f\n", i, expected_y[i], i,

0 commit comments

Comments
 (0)