Changeset 506


Ignore:
Timestamp:
May 14, 2014 9:00:30 AM (6 years ago)
Author:
kulshres
Message:

add a whitespace to make clang's c++11 mode happy.

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

Location:
trunk/ADOL-C/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ADOL-C/src/adalloc.c

    r465 r506  
    177177    unsigned int *A = (unsigned int*)ADOLC_MALLOC(m,sizeof(unsigned int));
    178178    if (A == NULL) {
    179         fprintf(DIAG_OUT, "ADOL-C error, "__FILE__
     179        fprintf(DIAG_OUT, "ADOL-C error, " __FILE__
    180180                ":%i : \nmyalloc1_ushort cannot allocate %i bytes\n",
    181181                __LINE__, (int)(m*sizeof(unsigned int)));
     
    190190    unsigned long int *A = (unsigned long int*)ADOLC_CALLOC(m,sizeof(unsigned long int));
    191191    if (A == NULL) {
    192         fprintf(DIAG_OUT, "ADOL-C error, "__FILE__
     192        fprintf(DIAG_OUT, "ADOL-C error, " __FILE__
    193193                ":%i : \nmyalloc1_ulong cannot allocate %i bytes\n",
    194194                __LINE__, (int)(m*sizeof(unsigned long int)));
     
    205205    int i;
    206206    if (Adum == NULL) {
    207         fprintf(DIAG_OUT, "ADOL-C error, "__FILE__
     207        fprintf(DIAG_OUT, "ADOL-C error, " __FILE__
    208208                ":%i : \nmyalloc2_ulong cannot allocate %i bytes\n",
    209209                __LINE__, (int)(m*n*sizeof(unsigned long int)));
     
    211211    } /* endif */
    212212    if (A == NULL) {
    213         fprintf(DIAG_OUT, "ADOL-C error, "__FILE__
     213        fprintf(DIAG_OUT, "ADOL-C error, " __FILE__
    214214                ":%i : \nmyalloc2_ulong cannot allocate %i bytes\n",
    215215                __LINE__, (int)(m*sizeof(unsigned long int*)));
  • trunk/ADOL-C/src/sparse/sparsedrivers.cpp

    r505 r506  
    801801        if ( ! (indep_blocks_flags = (unsigned char*)
    802802                                     calloc(i_blocks_per_strip, sizeof(char)) ) ) {
    803             fprintf(DIAG_OUT, "ADOL-C error, "__FILE__
     803            fprintf(DIAG_OUT, "ADOL-C error, " __FILE__
    804804                    ":%i : \njac_pat(...) unable to allocate %i bytes !\n",
    805805                    __LINE__, (int)(i_blocks_per_strip*sizeof(char)));
     
    878878                    if ( ! (crs[j] = (unsigned int*)realloc(crs[j],
    879879                                            (k_old+k+1)*sizeof(unsigned int))) ) {
    880                         fprintf(DIAG_OUT, "ADOL-C error, "__FILE__
     880                        fprintf(DIAG_OUT, "ADOL-C error, " __FILE__
    881881                                 ":%i : \njac_pat(...) unable to allocate %i bytes !\n",
    882882                                __LINE__, (int)((k_old+k+1)*sizeof(unsigned int)));
     
    930930        if ( ! (indep_blocks_flags = (unsigned char*)calloc(indep,
    931931                                     sizeof(unsigned char)) ) ) {
    932             fprintf(DIAG_OUT, "ADOL-C error, "__FILE__
     932            fprintf(DIAG_OUT, "ADOL-C error, " __FILE__
    933933                    ":%i : \njac_pat(...) unable to allocate %i bytes !\n",
    934934                    __LINE__, (int)(indep*sizeof(unsigned char)));
     
    10101010
    10111011                if ( ! (crs[d_bl_idx] = (unsigned int*)malloc((k+1)*sizeof(unsigned int))) ) {
    1012                     fprintf(DIAG_OUT, "ADOL-C error, "__FILE__
     1012                    fprintf(DIAG_OUT, "ADOL-C error, " __FILE__
    10131013                            ":%i : \njac_pat(...) unable to allocate %i bytes !\n",
    10141014                            __LINE__, (int)((k+1)*sizeof(unsigned int)));
Note: See TracChangeset for help on using the changeset viewer.