Skip to content

Commit 7619ffc

Browse files
committed
correct variable type
1 parent 906c497 commit 7619ffc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/eamxx/src/physics/zm/zm_functions.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,11 +346,11 @@ struct Functions {
346346
// std::vector<uview_1dh<Scalar>> tmp_vector_d = {h_prec};
347347
// std::vector< view_1d <Scalar>> tmp_vector_h = {prec.data()};
348348

349-
// std::vector<view_1d<Scalar>> tmp(1);
349+
// std::vector<uview_1d<Scalar>> tmp(1);
350350
// ekat::host_to_device({h_prec.data()}, ncol, tmp);
351351
// Kokkos::deep_copy(prec,tmp[0]);
352352

353-
ekat::host_to_device({h_prec.data()}, ncol, std::vector<view_1d<Scalar>> {prec});
353+
ekat::host_to_device({h_prec.data()}, ncol, std::vector<uview_1d<Scalar>> {prec});
354354

355355

356356
// prec = tmp_vector[0];

0 commit comments

Comments
 (0)