Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 14, 2025
1 parent bb9b1bc commit 2afb364
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/field-operations2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@
"Emc = mc.compute(system.energy.zeeman.energy, system)\n",
"print(f\"df: {Edf}\")\n",
"print(f\"mc: {Emc}\")\n",
"print(f\"rerr: {abs(Edf-Emc)/Edf * 100} %\")"
"print(f\"rerr: {abs(Edf - Emc) / Edf * 100} %\")"
]
},
{
Expand Down Expand Up @@ -334,7 +334,7 @@
"Emc = mc.compute(system.energy.uniaxialanisotropy.energy, system)\n",
"print(f\"df: {Edf}\")\n",
"print(f\"mc: {Emc}\")\n",
"print(f\"rerr: {abs(Edf-Emc)/Edf * 100} %\")"
"print(f\"rerr: {abs(Edf - Emc) / Edf * 100} %\")"
]
},
{
Expand Down Expand Up @@ -453,7 +453,7 @@
"Emc = mc.compute(system.energy.exchange.energy, system)\n",
"print(f\"df: {Edf}\")\n",
"print(f\"mc: {Emc}\")\n",
"print(f\"rerr: {abs(Edf-Emc)/Edf * 100} %\")"
"print(f\"rerr: {abs(Edf - Emc) / Edf * 100} %\")"
]
},
{
Expand Down Expand Up @@ -572,7 +572,7 @@
"Emc = mc.compute(system.energy.dmi.energy, system)\n",
"print(f\"df: {Edf}\")\n",
"print(f\"mc: {Emc}\")\n",
"print(f\"rerr: {abs(Edf-Emc)/Edf * 100} %\")"
"print(f\"rerr: {abs(Edf - Emc) / Edf * 100} %\")"
]
},
{
Expand Down

0 comments on commit 2afb364

Please sign in to comment.