Skip to content

Commit

Permalink
adding includes causing Linux build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kylechampley committed Feb 12, 2024
1 parent 9868494 commit 94e3a9c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

setup(
name='xrayphysics',
version='0.2',
version='1.0',
author='Kyle Champley',
author_email='[email protected]',
description='x-ray cross section tables, x-ray tube source simulation, beam hardening correction, and dual energy decompositon',
Expand Down
1 change: 1 addition & 0 deletions src/dual_energy_decomposition.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include "dual_energy_decomposition.h"
#include <math.h>

#ifdef USE_OPENMP
#include <omp.h>
Expand Down
1 change: 1 addition & 0 deletions src/xrayphysics.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "xrayphysics.h"
#include "dual_energy_decomposition.h"
#include <string>
#include <math.h>

#ifdef USE_OPENMP
#include <omp.h>
Expand Down
2 changes: 2 additions & 0 deletions src/xsec.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@

#include "xsec.h"
#include "xsec_raw.h"
#include <cstring>
#include <math.h>

const float atomicMass[101] = {0.0, 1.008000e+00, 4.002600e+00, 6.939000e+00, 9.012200e+00, 1.081100e+01, 1.201100e+01, 1.400700e+01, 1.599900e+01, 1.899800e+01, 2.017900e+01,
2.299000e+01, 2.431200e+01, 2.698200e+01, 2.808600e+01, 3.097400e+01, 3.206400e+01, 3.545300e+01, 3.994800e+01, 3.910200e+01, 4.008000e+01,
Expand Down
1 change: 1 addition & 0 deletions src/xsource.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include "xsource.h"
#include <math.h>

#ifndef PI
#define PI 3.1415926535897932385
Expand Down

0 comments on commit 94e3a9c

Please sign in to comment.