Skip to content
Snippets Groups Projects
Commit e794c50d authored by Oliver Sander's avatar Oliver Sander Committed by sander@FU-BERLIN.DE
Browse files

Remove a pointless 'sym' and corresponding comment.

Because trace(sym(A)) == trace(A)

[[Imported from SVN: r8568]]
parent c6ac12d8
Branches
No related tags found
No related merge requests found
...@@ -318,8 +318,7 @@ public: ...@@ -318,8 +318,7 @@ public:
return mu_ * sym(RT_DR3).frobenius_norm2() return mu_ * sym(RT_DR3).frobenius_norm2()
+ mu_c_ * skew(RT_DR3).frobenius_norm2() + mu_c_ * skew(RT_DR3).frobenius_norm2()
/** \todo Is this sym correct? It is in the paper, but not in the notes */ + mu_*lambda_/(2*mu_+lambda_) * traceSquared(RT_DR3);
+ mu_*lambda_/(2*mu_+lambda_) * traceSquared(sym(RT_DR3));
} }
/////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment