Skip to content

Commit

Permalink
Merge pull request #134 from tdegeus/patch
Browse files Browse the repository at this point in the history
Fixing spelling comments
  • Loading branch information
JohanMabille committed Oct 3, 2019
2 parents e6a19d9 + 8626619 commit 457c34b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/xtensor-blas/xlinalg.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ namespace linalg
auto&& t = view_eval<T::static_layout>(xt.derived_cast());
auto&& o = view_eval<O::static_layout>(xo.derived_cast());

// is one of each a scalar? just mulyiply
// is one of each a scalar? just multiply
if (t.dimension() == 0 || o.dimension() == 0)
{
return return_type(t * o);
Expand Down Expand Up @@ -1754,7 +1754,7 @@ namespace linalg
for (std::size_t i = 0; i < b.dimension(); ++i)
{
auto b_ax_it = std::find(ax_b.begin(), ax_b.end(), i);
// seccond pass if i is not in ax_b add to newaxes_b
// second pass if i is not in ax_b add to newaxes_b
if (b_ax_it == ax_b.end())
{
newaxes_b.push_back(i);
Expand Down

0 comments on commit 457c34b

Please sign in to comment.