From 4200aa200b7508aabbe07b36b68ae92da539b118 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 30 Oct 2024 16:23:02 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- physics/translation_partition | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/physics/translation_partition b/physics/translation_partition index c86fed432..865d77b06 100644 --- a/physics/translation_partition +++ b/physics/translation_partition @@ -1,9 +1,9 @@ import math -def translation_partition_function(mass: float, temperature: float, +def translation_partition_function(mass: float, temperature: float, volume: float) -> float: """ - Calculates the translational partition + Calculates the translational partition function using the formula: q_trans = ((2 * pi * m * k_B * T)^(3/2) * V) / h^3