Skip to content

angular_correlation: command-line parameters not working on a Mac #2

Description

@mattbellis

We found that the command-line options are not being passed into the angular_correlation function (or the C version) when run on a Mac, even though the code builds properly.

We tracked this down to the getopt() function, which is normally included in <unistd.h>. However, we find that the unstd.h header is not on all Macs. This does not stop compilation however. And so, the command line options are not passed in at run-time. There is then no way to set different options without editing the source code and recompiling the binary.

We have only observed this behavior on a Mac, so far (7/26/12).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions