Skip to content

Commit 7357d5f

Browse files
committed
Pep8 fixes
Changing to python 3.12 somehow revealed more pep8 problems.
1 parent 8192c0c commit 7357d5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tutorials-v5/time-evolution/013_nonmarkovian_monte_carlo.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -766,8 +766,8 @@ if results_folder_exists and NUM_BATCHES > 0:
766766
fit = np.polyfit(np.log(xval), yval, 1)
767767
print(('Approximate number of trajectories required for convergence until '
768768
'time t (according to linear fit):\n'
769-
f'N = {np.exp(-fit[1] / fit[0]) :.2f} * '
770-
f'exp( {1 / fit[0] / times3[-1] :.2f} * t )\n'))
769+
f'N = {np.exp(-fit[1] / fit[0]):.2f} * '
770+
f'exp( {1 / fit[0] / times3[-1]:.2f} * t )\n'))
771771

772772
plt.semilogx(xval, yval, label='Simulation result')
773773
plt.semilogx(xval, fit[0] * np.log(xval) + fit[1], '--', label='Fit')

0 commit comments

Comments
 (0)