From 723ee0a601a7d2982ed901fa492bb662181e07e3 Mon Sep 17 00:00:00 2001 From: Luni-4 Date: Sat, 5 Dec 2020 00:50:03 +0100 Subject: [PATCH] Correct wrong default value for cognitive --- src/metrics/cognitive.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/metrics/cognitive.rs b/src/metrics/cognitive.rs index e3922066b..19ffaf97a 100644 --- a/src/metrics/cognitive.rs +++ b/src/metrics/cognitive.rs @@ -28,7 +28,7 @@ impl Default for Stats { Self { structural: 0, nesting: 0, - total_space_functions: 1, + total_space_functions: 0, boolean_seq: BoolSequence::default(), } }