Skip to content

Commit

Permalink
Corrected comment typos
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandr-pavlyk committed Sep 27, 2024
1 parent 0899a07 commit d088227
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dpctl/tensor/libtensor/source/copy_as_contig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ py_as_c_contig(const dpctl::tensor::usm_ndarray &src,
"Source and destination arrays must have the same data type");
}

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

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

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

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

0 comments on commit d088227

Please sign in to comment.