Skip to content

Commit e5be021

Browse files
generatedunixname2419617681804656meta-codesync[bot]
authored andcommitted
arvr/libraries/pymomentum/geometry (#1054)
Summary: Pull Request resolved: #1054 Reviewed By: jeongseok-meta Differential Revision: D94054893 fbshipit-source-id: 451928724a0bcf03ac522454f9ca164910fa8950
1 parent 3cbb58a commit e5be021

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pymomentum/geometry/array_parameter_transform.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,12 @@ py::array_t<T> applyParameterTransformImpl(
3636

3737
// Create output array with shape [..., nJointParams] (flat) or [..., nJoints, 7] (structured)
3838
py::array_t<T> result;
39-
JointParamsShape outputShape;
39+
JointParamsShape outputShape = JointParamsShape::Structured;
4040
if (flatten) {
4141
result = createOutputArray<T>(leadingDims, {nJointParams});
4242
outputShape = JointParamsShape::Flat;
4343
} else {
4444
result = createOutputArray<T>(leadingDims, {nJoints, static_cast<py::ssize_t>(7)});
45-
outputShape = JointParamsShape::Structured;
4645
}
4746

4847
// Create batch indexer for converting flat indices to multi-dimensional indices

0 commit comments

Comments
 (0)