Skip to content

Commit

Permalink
fix typing, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
dakk committed Oct 18, 2024
1 parent d7b34b8 commit a9eecfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion qlasskit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.
# isort:skip_file

__version__ = "0.1.33"
__version__ = "0.1.34"

from .qcircuit import QCircuit, SupportedFrameworks, SupportedFramework # noqa: F401
from .qlassfun import QlassF, qlassf, qlassfa # noqa: F401
Expand Down
2 changes: 1 addition & 1 deletion qlasskit/ast2ast/astrewriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ def iterif(arg_l):
ast.Compare(left=arg_l[0], ops=[op], comparators=[l_it])
for l_it in arg_l[1:]
]
comp = ast.BoolOp(op=ast.And(), values=comps)
comp = ast.BoolOp(op=ast.And(), values=comps) # type: ignore
return ast.IfExp(test=comp, body=arg_l[0], orelse=iterif(arg_l[1:]))

return iterif(args)
Expand Down

0 comments on commit a9eecfd

Please sign in to comment.