From ba970a4ac70eed8643dd0bc567513176450c18e3 Mon Sep 17 00:00:00 2001 From: Elena Pourmal Date: Thu, 14 Jul 2005 16:04:33 -0500 Subject: [svn-r11073] Purpose: Small bug fix Description: On VMS assertion failed due to a typo ("/" instead of "%") Solution: Fixed a typo Platforms tested: VMS (code is not exercised on other platforms) Misc. update: --- src/H5detect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/H5detect.c b/src/H5detect.c index c28d264..e4b093a 100644 --- a/src/H5detect.c +++ b/src/H5detect.c @@ -845,7 +845,7 @@ fix_order(int n, int first, int last, int *perm, const char **mesg) /* * Bi-endian machines like VAX. */ - assert(0 == n / 2); + assert(0 == n % 2); if (mesg) *mesg = "VAX"; for (i = 0; i < n; i += 2) { perm[i] = (n - 2) - i; -- cgit v0.12