Skip to content

Commit

Permalink
Fix linux compile
Browse files Browse the repository at this point in the history
  • Loading branch information
portegys committed Nov 6, 2013
1 parent d1ff5c0 commit 0d82196
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 8 deletions.
2 changes: 0 additions & 2 deletions src/bionet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1949,8 +1949,6 @@ int main(int argc, char *argv[])
}


#include <math.h>

// Usage.
char *Usage2[] =
{
Expand Down
2 changes: 0 additions & 2 deletions src/networkHomomorph.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Network homomorph implementation.

#include "networkHomomorph.hpp"
#include <math.h>
#include <errno.h>

// Constructor.
NetworkHomomorph::NetworkHomomorph(Network *homomorph, MutableParm& synapseWeightsParm,
Expand Down
2 changes: 0 additions & 2 deletions src/networkIsomorph.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Network isomorph implementation.

#include "networkIsomorph.hpp"
#include <math.h>
#include <errno.h>

// Constructor.
NetworkIsomorph::NetworkIsomorph(MutableParm& excitatoryNeuronsParm, MutableParm& inhibitoryNeuronsParm,
Expand Down
1 change: 0 additions & 1 deletion src/networkMorph.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Network morph implementation.

#include "networkMorph.hpp"
#include <math.h>

// Maximum tolerated motor output error.
const float NetworkMorph::MAX_ERROR_TOLERANCE = 0.05f;
Expand Down
1 change: 0 additions & 1 deletion src/neuron.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Neuron.

#include <math.h>
#include "network.hpp"
#include "neuron.hpp"
#include "fileio.h"
Expand Down
2 changes: 2 additions & 0 deletions src/neuron.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <errno.h>
#include <vector>
#include <string>
using namespace std;
Expand Down

0 comments on commit 0d82196

Please sign in to comment.