Changeset 27309


Ignore:
Timestamp:
10/13/22 15:20:20 (2 years ago)
Author:
caronlam
Message:

BUG: complex number declaration compatibility with older gcc versions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/cores/love_core.cpp

    r27308 r27309  
    462462        IssmComplex z1, z2;
    463463        IssmComplex U1, U2;
    464         IssmComplex j=1i;
     464        IssmComplex j=reCast<IssmComplex>(complex<double>(0,1));
    465465        //Matlitho parameters
    466466        IssmDouble alpha=matlitho->ebm_alpha[layer_index];
Note: See TracChangeset for help on using the changeset viewer.