Changeset 9434 in ntrip for trunk/BNC/newmat/newmat7.cpp


Ignore:
Timestamp:
May 19, 2021, 1:32:38 PM (3 years ago)
Author:
stuerze
Message:

newmat is reverted to its stable version 10 because version 11beta was not working with mac compilers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/newmat/newmat7.cpp

    r8901 r9434  
    214214}
    215215
    216 static void SP(GeneralMatrix* gm, const GeneralMatrix* gm2)
    217 {
    218    REPORT
    219    const Real* s2=gm2->Store(); Real* s=gm->Store(); int i=gm->Storage() >> 2;
     216static void SP(GeneralMatrix* gm, GeneralMatrix* gm2)
     217{
     218   REPORT
     219   Real* s2=gm2->Store(); Real* s=gm->Store(); int i=gm->Storage() >> 2;
    220220   while (i--)
    221221   { *s++ *= *s2++; *s++ *= *s2++; *s++ *= *s2++; *s++ *= *s2++; }
    222222   i=gm->Storage() & 3; while (i--) *s++ *= *s2++;
    223 }
    224 
    225 void GeneralMatrix::SP_Equal(const GeneralMatrix& gm)
    226 {
    227    REPORT
    228    if (nrows_val != gm.nrows_val || ncols_val != gm.ncols_val)
    229       Throw(IncompatibleDimensionsException(*this, gm));
    230    SP(this, &gm);
    231223}
    232224
Note: See TracChangeset for help on using the changeset viewer.