diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2010-06-25 10:04:10 -0400 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2010-06-25 10:04:10 -0400 |
commit | a90575514adda68f7a742db0d27fc8953363e8bd (patch) | |
tree | 7d3b6bad50b30ebcb60506e6f089de376e2c5a12 /doc/examples/QuickStart_example2_dynamic.cpp | |
parent | 67d79c675199cea1fa829f25de5e5bb5ab3cd7cc (diff) |
int main() is a standard main() prototype, and makes for cleaner examples
Diffstat (limited to 'doc/examples/QuickStart_example2_dynamic.cpp')
-rw-r--r-- | doc/examples/QuickStart_example2_dynamic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/QuickStart_example2_dynamic.cpp b/doc/examples/QuickStart_example2_dynamic.cpp index b46ecef99..ccaba9c82 100644 --- a/doc/examples/QuickStart_example2_dynamic.cpp +++ b/doc/examples/QuickStart_example2_dynamic.cpp @@ -4,7 +4,7 @@ using Eigen::MatrixXd; using Eigen::VectorXd; -int main(int, char *[]) +int main() { MatrixXd m(3,3); for (int row = 0; row < 3; ++row) |