From 80bbbc20b1b73a75ed02c8bd65529e1e2415687c Mon Sep 17 00:00:00 2001 From: Dan <daniel2.lorych@live.uwe.ac.uk> Date: Wed, 4 May 2022 20:42:58 +0100 Subject: [PATCH] Fix incorrect calculation --- Helios/Source/SolarPanel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Helios/Source/SolarPanel.cs b/Helios/Source/SolarPanel.cs index 4dcb9ad..b59b44a 100644 --- a/Helios/Source/SolarPanel.cs +++ b/Helios/Source/SolarPanel.cs @@ -47,7 +47,7 @@ namespace Helios.Source { double costPerWatt; - costPerWatt = this.InstallationCost * this.PowerOutput; + costPerWatt = this.InstallationCost / this.PowerOutput; this.CostPerWatt = costPerWatt; -- GitLab