Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
617ed541e3 | |||
![]() |
aa020eee0c |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -30,3 +30,4 @@ pip/README.md
|
|||||||
pip/LICENSE
|
pip/LICENSE
|
||||||
pip/*egg-info
|
pip/*egg-info
|
||||||
pip/dist/
|
pip/dist/
|
||||||
|
pip/build/
|
||||||
|
@@ -37,7 +37,7 @@ extensions = Extension(
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='imc_termite',
|
name='imc_termite',
|
||||||
version='1.2.10',
|
version='1.2.11',
|
||||||
description='IMCtermite cython extension',
|
description='IMCtermite cython extension',
|
||||||
author='Record Evolution GmbH',
|
author='Record Evolution GmbH',
|
||||||
author_email='mario.fink@record-evolution.de',
|
author_email='mario.fink@record-evolution.de',
|
||||||
|
@@ -394,7 +394,8 @@ namespace imc
|
|||||||
for ( imc::datatype& el: ydata_ )
|
for ( imc::datatype& el: ydata_ )
|
||||||
{
|
{
|
||||||
//std::cout<<"value:"<<el.as_double()<<"\n";
|
//std::cout<<"value:"<<el.as_double()<<"\n";
|
||||||
el = imc::datatype(el.as_double()*factor_ + offset_);
|
double fact = ( factor_ == 0.0 ) ? 1.0 : factor_;
|
||||||
|
el = imc::datatype(el.as_double()*fact + offset_);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -8,7 +8,7 @@ publish-binary: bdist upload
|
|||||||
prepdist: ../cython/py_imc_termite.pyx ../cython/imc_termite.pxd ../cython/py_imc_termite.cpp
|
prepdist: ../cython/py_imc_termite.pyx ../cython/imc_termite.pxd ../cython/py_imc_termite.cpp
|
||||||
cp -v $? ./
|
cp -v $? ./
|
||||||
cp -v $(shell ls ../lib/imc_*.hpp) ./
|
cp -v $(shell ls ../lib/imc_*.hpp) ./
|
||||||
tail -n 212 ../README.md > ./README.md
|
cat ../README.md | grep '^# IMCtermite' -A 50000 > ./README.md
|
||||||
cp -v ../LICENSE ./
|
cp -v ../LICENSE ./
|
||||||
|
|
||||||
sdist: prepdist
|
sdist: prepdist
|
||||||
|
@@ -18,7 +18,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="IMCtermite",
|
name="IMCtermite",
|
||||||
version="1.2.10",
|
version="1.2.11",
|
||||||
author="Record Evolution GmbH",
|
author="Record Evolution GmbH",
|
||||||
author_email="mario.fink@record-evolution.de",
|
author_email="mario.fink@record-evolution.de",
|
||||||
maintainer="Record Evolution GmbH",
|
maintainer="Record Evolution GmbH",
|
||||||
|
Reference in New Issue
Block a user