Skip to content

Commit

Permalink
Merge pull request #127 from zlatko-minev/fix-epr-sign-v2
Browse files Browse the repository at this point in the history
Fix EPR bug and bump to version 0.8.5.7
  • Loading branch information
obrienpja authored Jul 22, 2022
2 parents 027c355 + 6b6dcdd commit 0ac3fa2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pyEPR/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
@author: Zlatko Minev, Zaki Leghas, ... and the pyEPR team
@site: https://github.com/zlatko-minev/pyEPR
@license: "BSD-3-Clause"
@version: 0.8.5.6
@version: 0.8.5.7
@maintainer: Zlatko K. Minev and Asaf Diringer
@email: [email protected]
@url: https://github.com/zlatko-minev/pyEPR
Expand All @@ -86,7 +86,7 @@
"Will Livingston", "Steven Touzard"
]
__license__ = "BSD-3-Clause"
__version__ = "0.8.5.6"
__version__ = "0.8.5.7"
__maintainer__ = "Zlatko K. Minev and Asaf Diringer"
__email__ = "[email protected]"
__url__ = r'https://github.com/zlatko-minev/pyEPR'
Expand Down
2 changes: 1 addition & 1 deletion pyEPR/core_distributed_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ def calc_current_using_line_voltage(self, variation: str, junc_line_name: str,
"E").real().integrate_line_tangent(name=junc_line_name)
v_calc_imag = CalcObject([], self.setup).getQty(
"E").imag().integrate_line_tangent(name=junc_line_name)
V = np.sign(v_calc_real) * np.sqrt(v_calc_real.evaluate(lv=lv)**2 +
V = np.sign(v_calc_real.evaluate(lv=lv)) * np.sqrt(v_calc_real.evaluate(lv=lv)**2 +
v_calc_imag.evaluate(lv=lv)**2)

# Get frequency
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

setup(
name='pyEPR-quantum',
version='0.8.5.6',
version='0.8.5.7',
description=doclines[0],
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 0ac3fa2

Please sign in to comment.