|
Last change
on this file since 14064 was 14064, checked in by Mathieu Morlighem, 13 years ago |
|
Added Archive/13977-14063
|
|
File size:
505 bytes
|
| Rev | Line | |
|---|
| [14064] | 1 | Index: ../trunk-jpl/src/c/Container/Observations.cpp
|
|---|
| 2 | ===================================================================
|
|---|
| 3 | --- ../trunk-jpl/src/c/Container/Observations.cpp (revision 14049)
|
|---|
| 4 | +++ ../trunk-jpl/src/c/Container/Observations.cpp (revision 14050)
|
|---|
| 5 | @@ -451,7 +451,7 @@
|
|---|
| 6 | this->ObservationList(&x,&y,&obs,&n_obs,x_interp,y_interp,radius,maxdata);
|
|---|
| 7 |
|
|---|
| 8 | /*If we have less observations than mindata, return UNDEF*/
|
|---|
| 9 | - if(n_obs<mindata){
|
|---|
| 10 | + if(n_obs<mindata || n_obs<2){
|
|---|
| 11 | prediction = UNDEF;
|
|---|
| 12 | }
|
|---|
| 13 | else{
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.