aboutsummaryrefslogtreecommitdiffstats
path: root/engine.c
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-03-02 12:03:54 -0500
committerSam Anthony <sam@samanthony.xyz>2025-03-02 12:03:54 -0500
commit5e379b1cf70006dbe782df991a655c475630a146 (patch)
tree07cd057ecd6eb18a7b4b7182f9104f82515fe40d /engine.c
parent2d0f7661dd4bb3927c93a6f9cbcf4fd93d2daf23 (diff)
downloadvolute-5e379b1cf70006dbe782df991a655c475630a146.zip
engine tests
Diffstat (limited to 'engine.c')
-rw-r--r--engine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine.c b/engine.c
index 00b3b48..ad1932e 100644
--- a/engine.c
+++ b/engine.c
@@ -98,5 +98,5 @@ density_ratio(const Engine *e) {
p3 = e->map;
t1 = e->ambient_temperature;
t3 = manifold_temperature(e);
- return (p1 * t3) / (p3 * t1);
+ return (p3 * t1) / (p1 * t3);
}