mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Clang-format tests, examples, libraries, benchmarks, etc.
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
3252ecc7a4
commit
46e9cdb7fe
@@ -2,12 +2,11 @@
|
||||
|
||||
using namespace Eigen;
|
||||
|
||||
int main(int argc,char **)
|
||||
{
|
||||
int main(int argc, char **) {
|
||||
VectorXf a(10), b(10);
|
||||
#ifdef EIGEN_SHOULD_FAIL_TO_BUILD
|
||||
b = argc>1 ? 2*a : a+a;
|
||||
b = argc > 1 ? 2 * a : a + a;
|
||||
#else
|
||||
b = argc>1 ? VectorXf(2*a) : VectorXf(a+a);
|
||||
b = argc > 1 ? VectorXf(2 * a) : VectorXf(a + a);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user