Re: pfHit->query core dump

New Message Reply Date view Thread view Subject view Author view

Jim Helman (jimh++at++surreal)
Tue, 30 Jan 96 12:07:08 -0800


> for (int j=0; j<numHits && j<10; j++)
> {
> (*hits[j])->query(PFQHIT_NODE,&hitNode);

The hits are not packed, so the loop should be:

    for (int j=0; j<10; j++)
    {
        if (hits[j][0] == NULL)
                continue;
        hits[j][0]->query(PFQHIT_NODE,&hitNode);
    }

rgds,

-jim helman

jimh++at++surreal.asd.sgi.com
IRIS Performer/Cosmo3D Java Library
415/933-1151


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:18 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.