mirror of
https://github.com/lavaux/glmath.git
synced 2024-11-23 11:38:29 +01:00
fix: add missing files for compilation
This commit is contained in:
parent
31bb742903
commit
1a7195d4f4
1
MANIFEST.in
Normal file
1
MANIFEST.in
Normal file
@ -0,0 +1 @@
|
||||
include ext_src/*
|
7618
ext_src/_cosmomath.cpp
Normal file
7618
ext_src/_cosmomath.cpp
Normal file
File diff suppressed because it is too large
Load Diff
23
ext_src/algo.hpp
Normal file
23
ext_src/algo.hpp
Normal file
@ -0,0 +1,23 @@
|
||||
#ifndef __COSMOTOOL_ALGO_HPP
|
||||
#define __COSMOTOOL_ALGO_HPP
|
||||
|
||||
namespace CosmoTool
|
||||
{
|
||||
|
||||
template<typename T>
|
||||
T cube(T a)
|
||||
{
|
||||
return a*a*a;
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
T square(T a)
|
||||
{
|
||||
return a*a;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
#endif
|
@ -17,7 +17,7 @@ classifiers = [
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://github.com/guilhem_lavaux/glmath"
|
||||
Issues = "https:///github.com/guilhem_lavaux/glmath/issues"
|
||||
Issues = "https://github.com/guilhem_lavaux/glmath/issues"
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools >= 61.0", "numpy", "wheel", "Cython", "python-semantic-release"]
|
||||
|
Loading…
Reference in New Issue
Block a user