Skip to content

Commit

Permalink
Merge pull request #19 from ak2ls2py/master
Browse files Browse the repository at this point in the history
ADF code does not work well with -O1..-O3 optimizations. …
  • Loading branch information
asselapathirana authored Nov 14, 2016
2 parents 77ef75a + d39a0e3 commit ac21ab0
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.9.1
current_version = 0.9.2
commit = True
tag = True

Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
year = '2016'
author = 'Assela Pathirana'
copyright = '{0}, {1}'.format(year, author)
version = release = '0.9.1'
version = release = '0.9.2'

pygments_style = 'trac'
templates_path = ['.']
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@ def read(*names, **kwargs):

sources2.append("src" + os.sep + "epanettools" + os.sep + "adf_wrap.cxx")

cargs = ['-Wno-format']
cargs = ['-Wno-format','-O0']


setup(
name='EPANETTOOLS',
version='0.9.1',
version='0.9.2',
license='GPLv3+',
description='Epanet 2.0 Python calling interface',
long_description='%s\n%s' % (
Expand Down
2 changes: 1 addition & 1 deletion src/epanettools/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.9.1"
__version__ = "0.9.2"
2 changes: 1 addition & 1 deletion src/epanettools/adf/callepanet.cc
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ Epanet system should be opened (ENopen/_wrap), but initialization would be done
eoutcheck(emitter?ENnextH_wrap(&tt):ENnextH(&tt));
}while (tt > 0);
if(epanet_error){
setNaN(results);
//setNaN(results);

}
ReDirectStdout(false);
Expand Down

0 comments on commit ac21ab0

Please sign in to comment.