From 425ec29b0a5869ec169e64f2fb05699c3a1ddbc5 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Sat, 16 Jul 2022 17:44:45 +0200 Subject: [PATCH] Fix includes --- cnumber.hpp | 2 +- matrix.cpp | 2 -- matrix.hpp | 3 ++- vector.hpp | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/cnumber.hpp b/cnumber.hpp index 6c50a33..6eb42f9 100644 --- a/cnumber.hpp +++ b/cnumber.hpp @@ -1,5 +1,5 @@ #pragma once -#include "../fractions/fractions.hpp" +#include "fractions.hpp" #include using namespace std; diff --git a/matrix.cpp b/matrix.cpp index 87eb15b..614c76c 100644 --- a/matrix.cpp +++ b/matrix.cpp @@ -1,6 +1,4 @@ #include "matrix.hpp" -#include "../complex-numbers/cnumber.hpp" -#include "../vectors/vector.hpp" int main() { vector a = vector(2); diff --git a/matrix.hpp b/matrix.hpp index 659ee1c..fc943ec 100644 --- a/matrix.hpp +++ b/matrix.hpp @@ -1,4 +1,5 @@ -#include "../vectors/vector.hpp" +#pragma once +#include "vector.hpp" #include #include #include diff --git a/vector.hpp b/vector.hpp index d45ab44..f833cab 100644 --- a/vector.hpp +++ b/vector.hpp @@ -1,5 +1,5 @@ #pragma once -#include "../complex-numbers/cnumber.hpp" +#include "cnumber.hpp" #include using namespace std; class vector {