From 330f437f2a3aa676d673853bcdc425c68d9f5cd6 Mon Sep 17 00:00:00 2001 From: Vasileios Karakasis <karakasis@cscs.ch> Date: Thu, 21 Jan 2016 11:21:54 +0100 Subject: [PATCH] Removed unnecessary headers. --- main.cpp | 3 +-- swcio.hpp | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/main.cpp b/main.cpp index ee24b127..cc9501eb 100644 --- a/main.cpp +++ b/main.cpp @@ -1,4 +1,3 @@ -#include <array> #include <iostream> #include <fstream> #include <numeric> @@ -359,7 +358,7 @@ TEST(swc_parser, invalid_input) } { - // Check invalid cell value + // Check invalid cell type std::istringstream is("1 10 14.566132 34.873772 7.857000 0.717830 -1\n"); cell_record cell; EXPECT_THROW(is >> cell, std::invalid_argument); diff --git a/swcio.hpp b/swcio.hpp index 9b2756f8..3d144fd9 100644 --- a/swcio.hpp +++ b/swcio.hpp @@ -1,6 +1,5 @@ #pragma once -#include <cmath> #include <exception> #include <iostream> #include <sstream> -- GitLab