Skip to content

Commit

Permalink
Fix FermionicOp Warning msg format (#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
woodsp-ibm authored Aug 18, 2021
1 parent 1d973e5 commit 8e143db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qiskit_nature/operators/second_quantization/fermionic_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,8 @@ def __init__(
if FermionicOp._display_format_warn:
FermionicOp._display_format_warn = False
warnings.warn(
"The default value for `display_format` will be changed from 'dense'"
"to 'sparse' in version 0.3.0. Once that happens, you must specify"
"The default value for `display_format` will be changed from 'dense' "
"to 'sparse' in version 0.3.0. Once that happens, you must specify "
"display_format='dense' directly.",
stacklevel=2,
)
Expand Down

0 comments on commit 8e143db

Please sign in to comment.