Skip to content

Commit

Permalink
changed assert
Browse files Browse the repository at this point in the history
  • Loading branch information
shaneding committed Aug 20, 2021
1 parent 3e8e884 commit ddf0a62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/datetime/datetime_ops.cu
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ struct ceil_timestamp {
return time_point_cast<typename Timestamp::duration>(ceil<duration_us>(ts));
case datetime_component::NANOSECOND:
return time_point_cast<typename Timestamp::duration>(ceil<duration_ns>(ts));
default: return time_point_cast<typename Timestamp::duration>(ceil<duration_s>(ts));
default: cudf_assert(false && "Unexpected resolution"); ;
}
}
};
Expand Down

0 comments on commit ddf0a62

Please sign in to comment.