Skip to content
Snippets Groups Projects
Commit 8b45248d authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

printinfo.h update.

parent 90e3fa91
No related branches found
No related tags found
No related merge requests found
......@@ -692,14 +692,14 @@ printTimesteps(int streamID, int taxisID, int verbose)
int tsID = 0;
#ifdef CDO
dtlist_type *dtlist = dtlist_new();
DateTimeList dtlist;
#endif
while ((nrecs = streamInqTimestep(streamID, tsID)))
{
#ifdef CDO
dtlist_taxisInqTimestep(dtlist, taxisID, 0);
int64_t vdate = dtlist_get_vdate(dtlist, 0);
int vtime = dtlist_get_vtime(dtlist, 0);
dtlist.taxisInqTimestep(taxisID, 0);
int64_t vdate = dtlist.getVdate(0);
int vtime = dtlist.getVtime(0);
#else
int64_t vdate = taxisInqVdate(taxisID);
int vtime = taxisInqVtime(taxisID);
......@@ -731,9 +731,6 @@ printTimesteps(int streamID, int taxisID, int verbose)
tsID++;
}
#ifdef CDO
dtlist_delete(dtlist);
#endif
if (nvdatetime)
{
fprintf(stdout, "\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment