proper check (amending ad35427dbe88);
authorwenzelm
Wed, 17 May 2017 10:49:19 +0200
changeset 65848 861a3ee712dd
parent 65847 ad35427dbe88
child 65849 d70d2d68f7f0
proper check (amending ad35427dbe88);
src/Pure/Admin/build_status.scala
--- a/src/Pure/Admin/build_status.scala	Tue May 16 22:57:12 2017 +0200
+++ b/src/Pure/Admin/build_status.scala	Wed May 17 10:49:19 2017 +0200
@@ -78,7 +78,7 @@
     def order: Long = - timing.elapsed.ms
 
     def check_timing: Boolean = entries.length >= 3
-    def check_heap: Boolean = entries.forall(_.heap_size > 0)
+    def check_heap: Boolean = entries.length >= 3 && entries.forall(_.heap_size > 0)
   }
   sealed case class Entry(pull_date: Date, isabelle_version: String, afp_version: String,
     timing: Timing, ml_timing: Timing, heap_size: Long)