Unverified Commit f2113a7a authored by Justin Carpentier's avatar Justin Carpentier Committed by GitHub
Browse files

Merge pull request #23 from nim65s/devel

reformat for clang-format-12 + add pre-commit
parents dc77c607 898f6499
Pipeline #17934 passed with stage
in 4 minutes and 12 seconds
repos:
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v12.0.1
hooks:
- id: clang-format
args: [--style=Google]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: trailing-whitespace
Subproject commit 7e797cbcae0947acce802c0bc63765a2b7c75828 Subproject commit 332976cc4d5305256c79a479e55ad7ab2ecc42f1
...@@ -77,9 +77,8 @@ ...@@ -77,9 +77,8 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <Eigen/Core>
#include <Eigen/Cholesky> #include <Eigen/Cholesky>
#include <Eigen/Core>
#include <iostream> #include <iostream>
#include "eiquadprog/eiquadprog-utils.hxx" #include "eiquadprog/eiquadprog-utils.hxx"
......
#include <iostream>
#include "eiquadprog/eiquadprog-fast.hpp" #include "eiquadprog/eiquadprog-fast.hpp"
#include <iostream>
namespace eiquadprog { namespace eiquadprog {
namespace solvers { namespace solvers {
......
#include <iostream> #include "TestA.hpp"
#include <Eigen/Core> #include <Eigen/Core>
#include <iostream>
#include "TestA.hpp"
using namespace eiquadprog::solvers; using namespace eiquadprog::solvers;
using namespace eiquadprog::tests; using namespace eiquadprog::tests;
......
#include <iostream> #include "TestB.hpp"
#include <Eigen/Core> #include <Eigen/Core>
#include <iostream>
#include "TestB.hpp"
using namespace eiquadprog::solvers; using namespace eiquadprog::solvers;
namespace eiquadprog { namespace eiquadprog {
......
...@@ -16,11 +16,9 @@ ...@@ -16,11 +16,9 @@
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with eiquadprog. If not, see <https://www.gnu.org/licenses/>. // along with eiquadprog. If not, see <https://www.gnu.org/licenses/>.
#include <iostream>
#include <Eigen/Core> #include <Eigen/Core>
#include <boost/test/unit_test.hpp> #include <boost/test/unit_test.hpp>
#include <iostream>
#include "eiquadprog/eiquadprog.hpp" #include "eiquadprog/eiquadprog.hpp"
......
...@@ -16,11 +16,9 @@ ...@@ -16,11 +16,9 @@
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with eiquadprog. If not, see <https://www.gnu.org/licenses/>. // along with eiquadprog. If not, see <https://www.gnu.org/licenses/>.
#include <iostream>
#include <Eigen/Core> #include <Eigen/Core>
#include <boost/test/unit_test.hpp> #include <boost/test/unit_test.hpp>
#include <iostream>
#include "eiquadprog/eiquadprog-fast.hpp" #include "eiquadprog/eiquadprog-fast.hpp"
#include "eiquadprog/eiquadprog-rt.hpp" #include "eiquadprog/eiquadprog-rt.hpp"
......
...@@ -16,13 +16,11 @@ ...@@ -16,13 +16,11 @@
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with eiquadprog. If not, see <https://www.gnu.org/licenses/>. // along with eiquadprog. If not, see <https://www.gnu.org/licenses/>.
#include <iostream> #include "eiquadprog/eiquadprog-fast.hpp"
#include <Eigen/Core> #include <Eigen/Core>
#include <boost/test/unit_test.hpp> #include <boost/test/unit_test.hpp>
#include <iostream>
#include "eiquadprog/eiquadprog-fast.hpp"
using namespace eiquadprog::solvers; using namespace eiquadprog::solvers;
......
...@@ -16,13 +16,11 @@ ...@@ -16,13 +16,11 @@
// You should have received a copy of the GNU Lesser General Public License // You should have received a copy of the GNU Lesser General Public License
// along with eiquadprog. If not, see <https://www.gnu.org/licenses/>. // along with eiquadprog. If not, see <https://www.gnu.org/licenses/>.
#include <iostream> #include "eiquadprog/eiquadprog-rt.hpp"
#include <Eigen/Core> #include <Eigen/Core>
#include <boost/test/unit_test.hpp> #include <boost/test/unit_test.hpp>
#include <iostream>
#include "eiquadprog/eiquadprog-rt.hpp"
using namespace eiquadprog::solvers; using namespace eiquadprog::solvers;
......
#include <iostream>
#include <Eigen/Core> #include <Eigen/Core>
#include <boost/test/unit_test.hpp> #include <boost/test/unit_test.hpp>
#include <iostream>
#include "TestA.hpp" #include "TestA.hpp"
#include "TestB.hpp" #include "TestB.hpp"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment