Skip to content

Commit

Permalink
fix Array deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
upsj committed Jan 20, 2025
1 parent c4c56e9 commit 8b88101
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions examples/batched-solver/batched-solver.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2017 - 2024 The Ginkgo authors
// SPDX-FileCopyrightText: 2017 - 2025 The Ginkgo authors
//
// SPDX-License-Identifier: BSD-3-Clause

Expand Down Expand Up @@ -54,7 +54,7 @@ auto unbatch(const InputType* batch_object)
//
// We use raw pointers below to demonstrate how to handle the situation when
// the application only gives us raw pointers. Ideally, one should use
// Ginkgo's gko::Array class here. In this example, we assume that the data is
// Ginkgo's gko::array class here. In this example, we assume that the data is
// in a format that can directly be given to a batch::matrix::Csr object.
struct ApplSysData {
// Number of small systems in the batch.
Expand Down
6 changes: 3 additions & 3 deletions test/mpi/vector.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2017 - 2024 The Ginkgo authors
// SPDX-FileCopyrightText: 2017 - 2025 The Ginkgo authors
//
// SPDX-License-Identifier: BSD-3-Clause

Expand Down Expand Up @@ -443,8 +443,8 @@ class VectorReductions : public CommonMpiTestFixture {
dense_real_res = real_dense_type ::create(exec);
real_res = real_dense_type ::create(exec);

dense_tmp = gko::Array<char>(exec);
tmp = gko::Array<char>(exec);
dense_tmp = gko::array<char>(exec);
tmp = gko::array<char>(exec);

auto num_parts =
static_cast<gko::experimental::distributed::comm_index_type>(
Expand Down

0 comments on commit 8b88101

Please sign in to comment.