Changeset 41d79a3 in tol
- Timestamp:
- Jun 17, 2011, 6:24:55 PM (15 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- f5c1a77
- Parents:
- ad4a32d
- Location:
- tol/btol
- Files:
-
- 2 edited
-
serie_type/tsrgrav.cpp (modified) (3 diffs)
-
timeset_type/tms.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tol/btol/serie_type/tsrgrav.cpp
rad4a32d r41d79a3 955 955 else if(dating!=right) 956 956 { 957 if(!dating->IsCompatibleWith(*right ))957 if(!dating->IsCompatibleWith(*right,FirstDate(),LastDate())) 958 958 { 959 959 dating = NULL; … … 963 963 { 964 964 BText no_dating = "NO_DATING"; 965 BText lName = left ?left ->Identify():no_dating; 966 BText rName = right?right->Identify():no_dating; 965 BText lName = left ?left ->Identify():no_dating+";"; 966 BText rName = right?right->Identify():no_dating+";"; 967 if(!left->Inf().HasValue() || !right->Sup().HasValue()) 968 { 969 lName += BText(" //Expression is finite or has been truncated to interval [")<<left->Inf().Name()+","+left->Sup().Name()+"]"; 970 } 971 if(!right->Inf().HasValue() || !right->Sup().HasValue()) 972 { 973 rName += BText(" //Expression is finite or has been truncated to interval [")<<right->Inf().Name()+","+right->Sup().Name()+"]"; 974 } 967 975 Error(I2("Cannot concat series with incompatible dating or without " 968 976 "dating.", … … 970 978 "o sin fechado.")+ 971 979 "\nSeries:\n" + 972 LeftSer ()->Identify() + " -> "+lName+" ;\n"+973 RightSer()->Identify() + " -> "+rName+" ;\n");980 LeftSer ()->Identify() + " -> "+lName+"\n"+ 981 RightSer()->Identify() + " -> "+rName+"\n"); 974 982 } 975 983 PutDating(dating); -
tol/btol/timeset_type/tms.cpp
rad4a32d r41d79a3 525 525 if(!first.HasValue()) { first = BDate::DefaultFirst(); } 526 526 if(!last .HasValue()) { last = BDate::DefaultLast (); } 527 BDate d1 = FirstNoGreat(first);527 BDate d1 = FirstNoGreat(first); 528 528 BDate d2 = tms.FirstNoGreat(first); 529 if(d1!=d2) { return(BFALSE); } 529 530 while(d1<=last) 530 531 {
Note: See TracChangeset
for help on using the changeset viewer.
