Skip to content

Commit 74f6c63

Browse files
Apply comment
1 parent c2f2971 commit 74f6c63

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

dpnp/backend/extensions/lapack/getrf.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,7 @@ std::pair<sycl::event, sycl::event>
196196
bool is_ipiv_array_c_contig = ipiv_array.is_c_contiguous();
197197
if (!is_a_array_c_contig && !is_a_array_f_contig) {
198198
throw py::value_error("The input array "
199-
"must be must be either C-contiguous "
200-
"or F-contiguous");
199+
"must be contiguous");
201200
}
202201
if (!is_ipiv_array_c_contig) {
203202
throw py::value_error("The array of pivot indices "

dpnp/backend/extensions/lapack/getrf_batch.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,7 @@ std::pair<sycl::event, sycl::event>
225225
bool is_ipiv_array_c_contig = ipiv_array.is_c_contiguous();
226226
if (!is_a_array_c_contig && !is_a_array_f_contig) {
227227
throw py::value_error("The input array "
228-
"must be must be either C-contiguous "
229-
"or F-contiguous");
228+
"must be must contiguous");
230229
}
231230
if (!is_ipiv_array_c_contig) {
232231
throw py::value_error("The array of pivot indices "

0 commit comments

Comments
 (0)