Skip to content

Commit 0ac3fa2

Browse files
authored
Merge pull request #127 from zlatko-minev/fix-epr-sign-v2
Fix EPR bug and bump to version 0.8.5.7
2 parents 027c355 + 6b6dcdd commit 0ac3fa2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

pyEPR/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
@author: Zlatko Minev, Zaki Leghas, ... and the pyEPR team
6060
@site: https://github.com/zlatko-minev/pyEPR
6161
@license: "BSD-3-Clause"
62-
@version: 0.8.5.6
62+
@version: 0.8.5.7
6363
@maintainer: Zlatko K. Minev and Asaf Diringer
6464
@email: zlatko.minev@aya.yale.edu
6565
@url: https://github.com/zlatko-minev/pyEPR
@@ -86,7 +86,7 @@
8686
"Will Livingston", "Steven Touzard"
8787
]
8888
__license__ = "BSD-3-Clause"
89-
__version__ = "0.8.5.6"
89+
__version__ = "0.8.5.7"
9090
__maintainer__ = "Zlatko K. Minev and Asaf Diringer"
9191
__email__ = "zlatko.minev@aya.yale.edu"
9292
__url__ = r'https://github.com/zlatko-minev/pyEPR'

pyEPR/core_distributed_analysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ def calc_current_using_line_voltage(self, variation: str, junc_line_name: str,
742742
"E").real().integrate_line_tangent(name=junc_line_name)
743743
v_calc_imag = CalcObject([], self.setup).getQty(
744744
"E").imag().integrate_line_tangent(name=junc_line_name)
745-
V = np.sign(v_calc_real) * np.sqrt(v_calc_real.evaluate(lv=lv)**2 +
745+
V = np.sign(v_calc_real.evaluate(lv=lv)) * np.sqrt(v_calc_real.evaluate(lv=lv)**2 +
746746
v_calc_imag.evaluate(lv=lv)**2)
747747

748748
# Get frequency

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
setup(
3333
name='pyEPR-quantum',
34-
version='0.8.5.6',
34+
version='0.8.5.7',
3535
description=doclines[0],
3636
long_description=long_description,
3737
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)