Changeset 14050


Ignore:
Timestamp:
11/29/12 08:41:10 (12 years ago)
Author:
Mathieu Morlighem
Message:

BUG: fixed problem if there is only one observation matrix is singular

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/Container/Observations.cpp

    r14049 r14050  
    452452
    453453        /*If we have less observations than mindata, return UNDEF*/
    454         if(n_obs<mindata){
     454        if(n_obs<mindata || n_obs<2){
    455455                prediction = UNDEF;
    456456        }
Note: See TracChangeset for help on using the changeset viewer.