//Mirar que los conjuntos gps o ins para los que se pide error lineal respecto al tiempo
//tienen al menos dos valores distintos de tiempo
 {uint ll=0;
 durchlaufei(GrupoGPSINS,grupos,ngrupos){	//cross-grouping not taken into account
	 bint b1,b2;
	 uint l=ll;
	 ll+=ptri->n;
	 if(ptri->n==0) continue;	//This is impossible here, but anyway
	 if(ptri->param==1) continue;
	 b1=(ptri->tipoGPS>1) && ptri->bg!=0;
	 b2=(ptri->tipoINS>1) && ptri->bi!=0;
	 if(!b1 && !b2) continue;
	 Double aux,auxb;
	 uint k1,k2;
	 k2=k1=0;
	 durchlaufej(PuntoGPSINS,gpss+l,ptri->n){
		 if(k1<2 && ptrj->bg!=0){
			 if(k1==0){aux=ptrj->t; k1=1;}
			 elif(ptrj->t!=aux) k1=2;
		 }
		 if(k2<2 && ptrj->bi!=0){
			 if(k2==0){auxb=ptrj->t; k2=1;}
			 elif(ptrj->t!=auxb) k2=2;
		 }
		 if(k1==2 && k2==2) break;
	 }
	 if((k1<2 && b1) || (k2<2 && b2)){//It is possible to arrive here also with param=mixed; if a group had different time values but after elimination of photographs
		 strcpy_wchar(mensaje,LTEXTOS[19]);		//there only remains one. In that case getting here is right: that group has to have type=1
		 goto salida_imposible;
	 }
 }}
