From e0841d54009a294261d0fecb4c0a61586f5edc6b Mon Sep 17 00:00:00 2001 From: Ta180m Date: Sat, 18 Jan 2020 18:26:51 -0600 Subject: Update Detector_Building.ino --- Detector_Building.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Detector_Building.ino b/Detector_Building.ino index c3c6af4..9d53145 100644 --- a/Detector_Building.ino +++ b/Detector_Building.ino @@ -39,7 +39,7 @@ void sort(double a[], int n) { for (int i = 0; i < n; i++) { for (int j = 0; j < n - 1; j++) { if (a[j] > a[j + 1]) { - int tmp = a[j]; + double tmp = a[j]; a[j] = a[j + 1]; a[j + 1] = tmp; } -- cgit v1.2.3-70-g09d2