Skip to content

Commit d088227

Browse files
Corrected comment typos
1 parent 0899a07 commit d088227

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dpctl/tensor/libtensor/source/copy_as_contig.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ py_as_c_contig(const dpctl::tensor::usm_ndarray &src,
165165
"Source and destination arrays must have the same data type");
166166
}
167167

168-
// ensures also that destinaton is plenty ample to accomodate all
168+
// ensures also that destination is plenty ample to accommodate all
169169
// elements of src array
170170
if (!dst.is_c_contiguous()) {
171171
throw py::value_error("Destination array must be C-contiguous");
@@ -298,7 +298,7 @@ py_as_f_contig(const dpctl::tensor::usm_ndarray &src,
298298
"Source and destination arrays must have the same data type");
299299
}
300300

301-
// ensures also that destinaton is plenty ample to accomodate all
301+
// ensures also that destination is plenty ample to accommodate all
302302
// elements of src array
303303
if (!dst.is_f_contiguous()) {
304304
throw py::value_error("Destination array must be F-contiguous");
@@ -451,7 +451,7 @@ py_as_c_contig_f2c(const dpctl::tensor::usm_ndarray &src,
451451
"Source and destination arrays must have the same data type");
452452
}
453453

454-
// ensures also that destinaton is plenty ample to accomodate all
454+
// ensures also that destination is plenty ample to accommodate all
455455
// elements of src array
456456
if (!dst.is_c_contiguous()) {
457457
throw py::value_error("Destination array must be C-contiguous");
@@ -604,7 +604,7 @@ py_as_f_contig_c2f(const dpctl::tensor::usm_ndarray &src,
604604
throw py::value_error("Arrays must have 2 or more axes");
605605
}
606606

607-
// ensures also that destinaton is plenty ample to accomodate all
607+
// ensures also that destination is plenty ample to accommodate all
608608
// elements of src array
609609
if (!dst.is_f_contiguous()) {
610610
throw py::value_error("Destination array must be C-contiguous");

0 commit comments

Comments
 (0)