Changeset 5779


Ignore:
Timestamp:
09/13/10 15:14:48 (15 years ago)
Author:
Mathieu Morlighem
Message:

Bad allocation for ssize in demashal

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk/src/c/objects/DofIndexing.cpp ΒΆ

    r5777 r5779  
    231231                this->f_set=(bool*)xmalloc(this->gsize*sizeof(bool));
    232232                this->s_set=(bool*)xmalloc(this->gsize*sizeof(bool));
    233                 this->svalues=(double*)xmalloc(this->ssize*sizeof(double));
     233                this->svalues=(double*)xmalloc(this->gsize*sizeof(double));
    234234                if(flagdoftype)this->doftype=(int*)xmalloc(this->gsize*sizeof(int));
    235235                else           this->doftype=NULL;
Note: See TracChangeset for help on using the changeset viewer.