I'm having a problem with the error and warning functions.  I've tried this
on multiple machine so I'm fairly sure it's not machine dependent and I've
tried it on the latest versions 2.6.0-2.7.1.  Whenever my program gets to an
error or warning it crashes the entire program rather than throwing the
error like it should.

Here are the relevant bits.

...
    char const * const ExeedsMinVarianceError = "PFDA ERR: Near zero
variance encountered.  Estimation Unstable. Terminating Estimation.";
....
        if(debug){printf("Da:\n");printmat(DaOld,1,*ka);fflush(stdout);}
        daxpy_(ka, &mOne, Da, &one, DaOld, &one);
        for(i=0;i<*ka;i++)convergenceCriteria+=fabs(DaOld[i]);
        if(Da[*ka] < MinVariance){
            printf("PING");fflush(stdout);
            warning(ExeedsMinVarianceError);
            break;
        }

and the output from running in batch mode that I get is this:
Da:
0.1803    4.988e-017

PING
and here the program crashes.   I've tried this in multiple places and
sometimes the error is thrown sometimes not.  Does anyone have an idea of
what is going on.  I could not find any discussion of this error yet.
Thank you,
Andrew Redd

	[[alternative HTML version deleted]]

