diff --git a/example/wiki/blas/KokkosBlas1_wiki_iamax.cpp b/example/wiki/blas/KokkosBlas1_wiki_iamax.cpp index 9e2e3e42b1..382db24848 100644 --- a/example/wiki/blas/KokkosBlas1_wiki_iamax.cpp +++ b/example/wiki/blas/KokkosBlas1_wiki_iamax.cpp @@ -1,3 +1,4 @@ +#include #include #include #include @@ -37,7 +38,7 @@ int main(int argc, char* argv[]) { } } - printf("Iamax of X: %i, Expected: %i\n", max_loc, expected_max_loc); + std::cout << "Iamax of X: " << max_loc << ", Expected: " << expected_max_loc << std::endl; } Kokkos::finalize(); }