[m-rev.] diff: fix bitmap documentation

Simon Taylor staylr at gmail.com
Sat Feb 17 12:10:56 AEDT 2007



Estimated hours taken: 0.25
Branches: main

library/bitmap.m:
	Fix a reference to bits_per_int which should be bits_per_byte.

Index: bitmap.m
===================================================================
RCS file: /home/mercury1/repository/mercury/library/bitmap.m,v
retrieving revision 1.15
diff -u -u -r1.15 bitmap.m
--- bitmap.m    13 Feb 2007 01:58:52 -0000      1.15
+++ bitmap.m    17 Feb 2007 01:08:34 -0000
@@ -174,7 +174,7 @@
     %
     % BM ^ byte(ByteNumber)
     % Get or set the given numbered byte (multiply ByteNumber by
-    % bits_per_int to get the bit index of the start of the byte).
+    % bits_per_byte to get the bit index of the start of the byte).
     %
     % The bits are stored in or taken from the least significant bits
     % of the integer.


--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list