From f729fc1d70e69d547bd5bd48678823dd9580bb7e Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 21 Aug 2008 13:17:21 +0000 Subject: * Add the possibility to customize the output of matrices, e.g.: IoFormat OctaveFmt(4, AlignCols, ", ", ";\n", "", "", "[", "]"); cout << mat.format(OctaveFmt); The first "4" is the precision. Documentation missing. * Some compilation fixes --- Eigen/src/Core/Swap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Eigen/src/Core/Swap.h') diff --git a/Eigen/src/Core/Swap.h b/Eigen/src/Core/Swap.h index 31e8170f5..835fa61b2 100644 --- a/Eigen/src/Core/Swap.h +++ b/Eigen/src/Core/Swap.h @@ -130,7 +130,7 @@ template template void MatrixBase::swap(const MatrixBase& other) { - SwapWrapper(derived()).lazyAssign(other); + (SwapWrapper(derived())).lazyAssign(other); } #endif // EIGEN_SWAP_H -- cgit v1.2.3