🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c++.leda
Article #156

Soring one element array

#156
From: Alex Beascoechea
Date: Wed, 08 Nov 1995 02:58
9 lines
783 bytes
Hi,

Has anybody else experimented problems when sorting an array (using a user
defined linear order on the elements) that only has one element?

It seems that the fact that both high() and low() return 0 confuses the
library . But the specification says that a<=x<=b. and i<= j.

Alex.
Technical Details
Message-ID: <47p6cm$qaa@usenet.rpi.edu>
Path: arc1-ca.pugleaf.net!kbad.eglin.af.mil!rpi!usenet

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!kbad.eglin.af.mil!rpi!usenet
From: Alex Beascoechea <alex@cat.rpi.edu>
Newsgroups: comp.lang.c++.leda
Subject: Soring one element array
Date: 8 Nov 1995 02:58:29 GMT
Organization: Rensselaer Polytechnic Institute
Message-ID: <47p6cm$qaa@usenet.rpi.edu>
NNTP-Posting-Host: gardiner.cat.rpi.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 1.12 (X11; I; SunOS 5.4 sun4m)
X-URL: news:comp.lang.c++.leda