Fix the uniq example
The uniq
example fails with the Segmentation fault
. It happens because the tmp
is too small: its size equals to the size of mtime_date_container_a
, which is guaranteed to be smaller than remaining_event_steps
in this case, hence the assignment fails. It looks like the tmp
should be allocated to the size of remaining_event_steps
, which is implemented in this PR.
Another issue if DEALLOCATE (tmp_jd)
. The NAG
compiler reports: Attempt to DEALLOCATE an object which was not ALLOCATEd
. It looks like there should be a call to the deallocateJulianday
subroutine instead.
Edited by Sergey Kosukhin
Merge request reports
Activity
requested review from @m214089
mentioned in merge request !75 (merged)
enabled an automatic merge when all merge checks for 6aead8f3 pass
Please register or sign in to reply