From: Roy S. <roy...@ic...> - 2012-10-22 06:38:56
|
On Thu, 11 Oct 2012, John Peterson wrote: > On Thu, Oct 11, 2012 at 10:45 AM, Roy Stogner <roy...@ic...> wrote: >> >> Vikram and I are waffling on this question, so I thought I'd throw it >> out for everybody's feedback: >> >> For signed error estimates, e.g. estimates of Quantity-of-Interest >> error where Q - Q_h ~= sum_E ( \eta_E ), what should the >> estimate_error() method put in our ErrorVector? The signed eta_E, >> or the unsigned abs(eta_E)? > > If you decide to allow signed values in ErrorVector, be sure to also > fix ErrorVector::minimum() which currently assumes only positive > values are in the vector. Will do. But after looking at a buildbot regression tonight, I'm starting to lean towards the unsigned option again: otherwise we either need our ErrorVector data type to become complex-valued or we're forced to have inconsistent behavior for --enable-complex. --- Roy |