reverted extra spaces which were added in last commit

release/4.3a0
Renaud Dube 2014-11-07 12:11:08 +01:00
parent bd3f9db7df
commit 90ec6b1452
1 changed files with 52 additions and 58 deletions

View File

@ -98,12 +98,7 @@ struct CallRecord {
template<int ROWS, int COLS>
void handleLeafCase(const Eigen::Matrix<double, ROWS, COLS>& dTdA,
JacobianMap& jacobians, Key key) {
// if (ROWS == -1 && COLS == -1 ) {
// jacobians(key) += dTdA;
// } else {
jacobians(key).block < ROWS, COLS > (0, 0) += dTdA; // block makes HUGE difference
// }
}
/// Handle Leaf Case for Dynamic Matrix type (slower)
template<>
@ -778,4 +773,3 @@ class TernaryExpression: public FunctionalNode<T, boost::mpl::vector<A1, A2, A3>
};
//-----------------------------------------------------------------------------
}