src/Pure/library.ML
changeset 77846 5ba68d3bd741
parent 75858 657b2de27454
child 77847 3bb6468d202e
--- a/src/Pure/library.ML	Fri Apr 14 16:01:00 2023 +0200
+++ b/src/Pure/library.ML	Fri Apr 14 20:42:17 2023 +0200
@@ -658,7 +658,7 @@
 fun string_of_int i =
   if i < 0 then Int.toString i
   else if i < 10 then chr (zero + i)
-  else if i < small_int then Vector.sub (small_int_table, i)
+  else if i < small_int then Vector.nth small_int_table i
   else Int.toString i;
 
 end;