From a01861a95ede48fa4979a47b24f21616e362e534 Mon Sep 17 00:00:00 2001 From: Shuxia Ning <NingShuxia0927@outlook.com> Date: 星期二, 19 十一月 2024 16:29:46 +0800 Subject: [PATCH] 用水当量模块 --- WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Common/MathSolver.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Common/MathSolver.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Common/MathSolver.cs index 6e990b9..4292668 100644 --- a/WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Common/MathSolver.cs +++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Common/MathSolver.cs @@ -11,7 +11,7 @@ public class MathSolver { static double ErrNum = -1; - public static List<double> Solve(double a,double b,double c) + public static List<double> Solve(double a, double b, double c) { // 姹傝В浜屾鏂圭▼ ax^2 + bx + c = 0 double delta = b * b - 4 * a * c; @@ -27,7 +27,7 @@ return null; } } - public static List<double> Solve(double a,double b,double c,double d) + public static List<double> Solve(double a, double b, double c, double d) { double[] roots = null; roots = new double[3]; -- Gitblit v1.9.3