freepooma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Patch: Make Field Centerings Table Always Dynamic


From: Jeffrey Oldham
Subject: Patch: Make Field Centerings Table Always Dynamic
Date: Thu, 30 Aug 2001 12:04:16 -0700
User-agent: Mutt/1.2.5i

We change the implementation of canonicalCentering tables from a
static object to a dynamically allocated table.  This resolves a
runtime execution problem for KCC/Irix and simplifies the code.  Prior
to this patch, gcc used the dynamic code and all other compilers used
the static code, which apparently was wrong.

2001-08-30  Jeffrey D. Oldham  <address@hidden>

        * FieldCentering.cmpl.cpp
        (CanonicalCentering<Dim>::CanonicalCentering): Make dynamic
        centering table construction unconditional.
        * FieldCentering.h (CanonicalCentering::~CanonicalCentering):
        Destroy dynamic centering table for all implementations.
        (CanonicalCentering::class_count_m): Always used.
        (CanonicalCentering::centering_table_m): Always used.

Tested on       Irix/KCC 4.0c and Linux gcc 3.0.1 by compiling Pooma library 
and the Field tests
Approved by     Stephen Smith
Applied to      mainline

Thanks,
Jeffrey D. Oldham
address@hidden

Attachment: FieldCentering.30Aug.10.0.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]