Skip to content

bug in hypoDD #2

@JanWiszniowski

Description

@JanWiszniowski

Dear Felix,
I found the bug in hypoDD. An empty line after * ID in the hypoDD input file causes the creation of a nonzero number of ncusp (number of event keys in icusp). The list of events to relocate (icusp) is, of course, unpredictable. This happens because, before the reading command, you don't reset the variable i. This results in no event being considered.

I fixed that by adding a line in getinp2.f to reset the i variable. Below is the patch:

251a252

                i = 0

Best regards,
Jan Wiszniowski

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions