From 8e143db5e2b1e9e1eb7e8d89048b818f5825b343 Mon Sep 17 00:00:00 2001 From: Steve Wood <40241007+woodsp-ibm@users.noreply.github.com> Date: Wed, 18 Aug 2021 02:46:57 -0400 Subject: [PATCH] Fix FermionicOp Warning msg format (#330) --- qiskit_nature/operators/second_quantization/fermionic_op.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qiskit_nature/operators/second_quantization/fermionic_op.py b/qiskit_nature/operators/second_quantization/fermionic_op.py index a98d2383a4..37ab737e10 100644 --- a/qiskit_nature/operators/second_quantization/fermionic_op.py +++ b/qiskit_nature/operators/second_quantization/fermionic_op.py @@ -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, )