Skip to content

Commit

Permalink
import <limits> everywhere numeric_limits are used
Browse files Browse the repository at this point in the history
  • Loading branch information
jcschaff committed May 25, 2024
1 parent b62140f commit 07d3fd0
Show file tree
Hide file tree
Showing 21 changed files with 658 additions and 636 deletions.
1 change: 1 addition & 0 deletions MBSolver/Solver/include/Distance.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#ifndef Distance_h
#define Distance_h
#include <limits>
#include <cmath>
#include <TPoint.h>
#include <cassert>
Expand Down
1 change: 1 addition & 0 deletions MBSolver/Solver/include/MBridge/MBPatch.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#ifndef MBPatch_h
#define MBPatch_h
#include <limits>
#include <vector>
#include <iostream>
#include <MBridge/MBMatlabGenerator.h>
Expand Down
1 change: 1 addition & 0 deletions MBSolver/Solver/include/MPoint.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#ifndef MPoint_h
#define MPoint_h
#pragma warning ( disable : 4996)
#include <limits>
#include <cassert>
#include <array>
#include <stdexcept>
Expand Down
2 changes: 2 additions & 0 deletions MBSolver/Solver/include/Modulo.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#ifndef Modulo_h
#define Modulo_h

#include <limits>

namespace vcell_util {
/**
* modulo integer type
Expand Down
1 change: 1 addition & 0 deletions MBSolver/Solver/include/World.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#ifndef World_h
#define World_h
#include <MovingBoundaryTypes.h>
#include <limits>
#include <TPoint.h>
#include <Universe.h>
#include <SVector.h>
Expand Down
1 change: 1 addition & 0 deletions MBSolver/Solver/src/CoordVect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include <IndexVect.h>
#include <math.h>
#include <istream>
#include <limits>
#include <World.h>
#include <MeshElementNode.h>
#include <MovingBoundaryTypes.h>
Expand Down
1 change: 1 addition & 0 deletions MBSolver/Solver/src/Mesh.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include <cstdint>
#include <stdexcept>
#include <limits>
#pragma warning ( disable: 4018 )
#include <Mesh.h>
#include <VCellException.h>
Expand Down
1 change: 1 addition & 0 deletions MBSolver/Solver/src/MeshElementNode.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include <MPoint.h>
#include <sstream>
#include <limits>
#include <cstring>
#include <exception>
#include <algorithm>
Expand Down
1 change: 1 addition & 0 deletions MBSolver/Solver/src/MovingBoundaryParabolicProblem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <boost/logic/tribool.hpp>
#include <World.h>
#include <VoronoiMesh.h>
#include <limits>
#include <cstring>
#include <sstream>
#include <iomanip>
Expand Down
1 change: 1 addition & 0 deletions MBSolver/Solver/src/ReportClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include <map>
#include <set>
#include <iomanip>
#include <limits>
#include <algo.h>
#include <Mesh.h>
#include <MeshElementNode.h>
Expand Down
1 change: 1 addition & 0 deletions MBSolver/Solver/src/Voronoi32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <vector>
#include <algorithm>
#include <fstream>
#include <limits>
#include "Voronoi.h"
#include "SVector.h"
#include "algo.h"
Expand Down
3 changes: 2 additions & 1 deletion MBSolver/Solver/src/World.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include <Logger.h>
#include <NumericConvert.h>
#include <map>
#include <limits>
#include <list>
#include <iomanip>
#include <boost/math/common_factor.hpp>
Expand Down Expand Up @@ -224,7 +225,7 @@ namespace moving_boundary {
template struct WorldMax<int16_t>;
template struct WorldMax<int32_t>;
template struct WorldMax<long long>;


#ifdef COMPILE_64
template struct World<int64_t,2>;
template struct WorldMax<int64_t>;
Expand Down
1 change: 1 addition & 0 deletions MBSolver/Solver/src/intersection.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include <vector>
#include <algorithm>
#include <fstream>
#include <limits>
#include <intersection.h>
#include <TPoint.h>
#include <World.h>
Expand Down
Loading

0 comments on commit 07d3fd0

Please sign in to comment.