Skip to content
Snippets Groups Projects
Commit 5f1495dc authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

RF: Move "using namespace" statements to source files

parent bc791e27
No related branches found
No related tags found
1 merge request!8Mnt/conda
......@@ -10,10 +10,9 @@
#include "histogram.h"
using namespace std;
using namespace NEWMAT;
#ifndef NO_NAMESPACE
namespace MISCMATHS {
#endif
float Histogram::getPercentile(float perc)
{
......@@ -267,11 +266,6 @@ namespace MISCMATHS {
}
}
}
#ifndef NO_NAMESPACE
}
#endif
......
......@@ -9,6 +9,8 @@
#include "kernel.h"
#include "miscmaths.h"
using namespace NEWMAT;
namespace MISCMATHS {
set<kernelstorage*, kernelstorage::comparer> kernel::existingkernels;
......
......@@ -17,9 +17,6 @@
#include "miscmaths.h"
#include "minimize.h"
#define WANT_STREAM
#define WANT_MATH
using namespace NEWMAT;
using namespace std;
///////////////////////////////////////////////////////
......
......@@ -15,8 +15,11 @@
#include "miscprob.h"
#include "stdlib.h"
#include "armawrap/newmatio.h"
#include "NewNifti/NewNifti.h"
using namespace std;
using namespace NEWMAT;
using namespace NiftiIO;
namespace MISCMATHS {
......
......@@ -14,6 +14,9 @@
#include "optimise.h"
#include "miscmaths.h"
using namespace NEWMAT;
using namespace std;
namespace MISCMATHS {
// The following lines are ignored by the current SGI compiler
......
......@@ -9,6 +9,7 @@
#include "rungekutta.h"
using namespace std;
using namespace NEWMAT;
namespace MISCMATHS {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment