Skip to content

Commit

Permalink
update the linking
Browse files Browse the repository at this point in the history
  • Loading branch information
shajoezhu committed Oct 20, 2018
1 parent 44e5178 commit cf7e595
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ TESTS = unit_tests io_unit_tests
check_PROGRAMS = unit_tests dEploid_dbg dEploid_prof io_unit_tests
PROG = DEPLOID

common_flags = -std=c++0x -DDEPLOIDVERSION=\"${DEPLOIDVERSION}\" -DLASSOVERSION=\"${LASSOVERSION}\" -DCOMPILEDATE=\"${COMPILEDATE}\"
common_flags = -std=c++0x -Isrc/ -DDEPLOIDVERSION=\"${DEPLOIDVERSION}\" -DLASSOVERSION=\"${LASSOVERSION}\" -DCOMPILEDATE=\"${COMPILEDATE}\"
common_LDADD = -lz

common_src = src/random/fastfunc.cpp \
Expand Down
2 changes: 1 addition & 1 deletion src/codeCogs/randomSample.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#define STATS_DISTS_CONTINUOUS_NORMAL_RANDOMSAMPLE_H

#include <math.h>
#include "src/codeCogs/mersenne.hpp"
#include "codeCogs/mersenne.hpp"

#define NORMALDENS(x) ((fabs(x) > 8.0) ? 0 : 0.398942280 * exp(- x * x / 2))

Expand Down
2 changes: 1 addition & 1 deletion src/debug/mcmcDebug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*
*/

#include "src/mcmc.hpp"
#include "mcmc.hpp"


bool McmcMachinery::doutProp() {
Expand Down
4 changes: 2 additions & 2 deletions src/debug/vcfReaderDebug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
*/

#include <iostream> // std::cout
#include "src/global.h"
#include "src/vcfReader.hpp"
#include "global.h"
#include "vcfReader.hpp"

using std::endl;

Expand Down
4 changes: 2 additions & 2 deletions src/export/dEploidIOExport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
*
*/

#include "src/dEploidIO.hpp"
#include "src/mcmc.hpp"
#include "dEploidIO.hpp"
#include "mcmc.hpp"


void DEploidIO::wrapUp(){
Expand Down
6 changes: 3 additions & 3 deletions src/export/dEploidIOExportPosteriorProb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
*
*/

#include "src/dEploidIO.hpp"
#include "src/updateHap.hpp"
#include "src/mcmc.hpp"
#include "dEploidIO.hpp"
#include "updateHap.hpp"
#include "mcmc.hpp"

void McmcMachinery::writeLastFwdProb(bool useIBD){
if ( this->dEploidIO_ ->doExportPostProb() != true ){
Expand Down
4 changes: 2 additions & 2 deletions src/export/writeMcmcRelated.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
*
*/

#include "src/dEploidIO.hpp"
#include "src/mcmc.hpp"
#include "dEploidIO.hpp"
#include "mcmc.hpp"

void DEploidIO::writeMcmcRelated (McmcSample * mcmcSample, bool useIBD){
this->writeProp( mcmcSample, useIBD );
Expand Down
2 changes: 1 addition & 1 deletion src/gzstream/gzstream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

#include <iostream>
#include <string.h> // for memcpy
#include "src/gzstream/gzstream.h"
#include "gzstream/gzstream.h"

#ifdef GZSTREAM_NAMESPACE
namespace GZSTREAM_NAMESPACE {
Expand Down
8 changes: 4 additions & 4 deletions src/utility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
*
*/

#include "src/utility.hpp"
#include "utility.hpp"
#include <iterator> // std::distance
#include <algorithm> // find
#include "src/codeCogs/loggammasum.h" // which includes log_gamma.h
#include "src/codeCogs/gamma.h"
#include "src/codeCogs/logbeta.h"
#include "codeCogs/loggammasum.h" // which includes log_gamma.h
#include "codeCogs/gamma.h"
#include "codeCogs/logbeta.h"



Expand Down
2 changes: 1 addition & 1 deletion src/variantIndex.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <vector>
#include <string>
#include <cassert>
#include "src/global.h"
#include "global.h"


using std::vector;
Expand Down

0 comments on commit cf7e595

Please sign in to comment.