Skip to content

Commit

Permalink
set_slice3x3 -> set_slice_3x3 (#1784)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucifer1004 authored Sep 6, 2024
1 parent 06e3377 commit 82f5075
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/cutlass/matrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -7825,7 +7825,7 @@ struct Matrix<Element_, 3, 3> {

Matrix m;

m.set_slice3x3({
m.set_slice_3x3({
c + x * x * one_minus_cos, x * y * one_minus_cos - z * s, x * z * one_minus_cos + y * s,
y * x * one_minus_cos * z * s, c + y * y * one_minus_cos, y * z * one_minus_cos - x * s,
z * x * one_minus_cos - y * s, z * y * one_minus_cos + x * s, c + z * z * one_minus_cos
Expand All @@ -7845,7 +7845,7 @@ struct Matrix<Element_, 3, 3> {

Matrix m = Matrix::identity();

m.set_slice3x3({
m.set_slice_3x3({
Element(1) - Element(2) * a * a, Element(-2) * a * b, Element(-2) * a * c,
Element(-2) * a * b, Element(1) - Element(2) * b * b, Element(-2) * b * c,
Element(-2) * a * c, Element(-2) * b * c, Element(1) - Element(2) * c * c
Expand Down Expand Up @@ -14005,7 +14005,7 @@ struct Matrix<Element_, 4, 4> {

Matrix m;

m.set_slice3x3({
m.set_slice_3x3({
c + x * x * one_minus_cos, x * y * one_minus_cos - z * s, x * z * one_minus_cos + y * s,
y * x * one_minus_cos * z * s, c + y * y * one_minus_cos, y * z * one_minus_cos - x * s,
z * x * one_minus_cos - y * s, z * y * one_minus_cos + x * s, c + z * z * one_minus_cos
Expand All @@ -14025,7 +14025,7 @@ struct Matrix<Element_, 4, 4> {

Matrix m = Matrix::identity();

m.set_slice3x3({
m.set_slice_3x3({
Element(1) - Element(2) * a * a, Element(-2) * a * b, Element(-2) * a * c,
Element(-2) * a * b, Element(1) - Element(2) * b * b, Element(-2) * b * c,
Element(-2) * a * c, Element(-2) * b * c, Element(1) - Element(2) * c * c
Expand Down

0 comments on commit 82f5075

Please sign in to comment.