Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
eos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Richard Torenvliet
eos
Commits
ef853722
Commit
ef853722
authored
Mar 06, 2017
by
Patrik Huber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix return type of to_matrix
This fixes a crash - it should obviously return a matrix, not a vector.
parent
6f38beaa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
include/eos/morphablemodel/Blendshape.hpp
include/eos/morphablemodel/Blendshape.hpp
+1
-1
No files found.
include/eos/morphablemodel/Blendshape.hpp
View file @
ef853722
...
@@ -89,7 +89,7 @@ inline std::vector<Blendshape> load_blendshapes(std::string filename)
...
@@ -89,7 +89,7 @@ inline std::vector<Blendshape> load_blendshapes(std::string filename)
* @param[in] blendshapes Vector of blendshapes.
* @param[in] blendshapes Vector of blendshapes.
* @return The resulting matrix.
* @return The resulting matrix.
*/
*/
inline
Eigen
::
Vector
Xf
to_matrix
(
const
std
::
vector
<
Blendshape
>&
blendshapes
)
inline
Eigen
::
Matrix
Xf
to_matrix
(
const
std
::
vector
<
Blendshape
>&
blendshapes
)
{
{
assert
(
blendshapes
.
size
()
>
0
);
assert
(
blendshapes
.
size
()
>
0
);
// Todo: Assert all blendshapes have to have the same number of rows, and one col
// Todo: Assert all blendshapes have to have the same number of rows, and one col
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment