diff --git a/main.cpp b/main.cpp index ee24b1273b1f334b452defcaa3d6472fefb40cb4..cc9501eb05a130cba0eeb27ba5abf91ba0b52a42 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 9b2756f811be9366b9c8cb924f3c47924312ba92..3d144fd9215b055cd0de9444f602d3e9295166aa 100644 --- a/swcio.hpp +++ b/swcio.hpp @@ -1,6 +1,5 @@ #pragma once -#include <cmath> #include <exception> #include <iostream> #include <sstream>