Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipVinc committed Jan 11, 2022
1 parent 59a6405 commit c0c1226
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion netket/optimizer/qgt/common.py
Expand Up @@ -36,7 +36,7 @@ def check(x, target):
vec_iscomplex = True if len(target) == 2 else False
else:
vec_iscomplex = jnp.iscomplexobj(target)

if not par_iscomplex and vec_iscomplex:
raise TypeError(
dedent(
Expand Down
2 changes: 1 addition & 1 deletion test/optimizer/test_qgt_solvers.py
Expand Up @@ -27,7 +27,7 @@

QGT_types = {}
QGT_types["QGTOnTheFly"] = nk.optimizer.qgt.QGTOnTheFly
#QGT_types["QGTJacobianDense"] = nk.optimizer.qgt.QGTJacobianDense
# QGT_types["QGTJacobianDense"] = nk.optimizer.qgt.QGTJacobianDense
QGT_types["QGTJacobianPyTree"] = nk.optimizer.qgt.QGTJacobianPyTree

QGT_objects = {}
Expand Down

0 comments on commit c0c1226

Please sign in to comment.