Commit 7ddafdff authored by remi cresson's avatar remi cresson
Browse files

ENH: do not reject dates having the same day

parent 6554b4e9
......@@ -124,7 +124,7 @@ DatesType GetDatesFromStringVector(std::vector<std::string> & list, bool check_o
{
for (unsigned int i = 0 ; i < dates.size()-1 ; i++)
{
if (dates[i+1].julianday <= dates[i].julianday)
if (dates[i+1].julianday < dates[i].julianday)
{
itkGenericExceptionMacro("Date " << i << " is older than date " << (i+1) << " !");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment