Skip to content

Warnings during installation#5

Description

@AnthonyEbert

Thank you for the fast response. Great work 馃憤 The installation works well and I can replicate your example from the main page. From my side, the issue can be closed.

Maybe for the next version, I still got some warnings during the installation process, but I can not figure out, how important they are and if this needs to be fixed:

MMD_full_loop.cpp: In function 'double kernelMatrix_threshold_sum(const vec&, const vec&, const vec&, const vec&, float, float, int)':
MMD_full_loop.cpp:127:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < n_x; ++i){
^
MMD_full_loop.cpp:128:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = start_p; j < n_y; ++j){
^
MMD_full_loop.cpp:114:7: warning: unused variable 'end_p' [-Wunused-variable]
int end_p = n_y;
^
MMD_full_loop.cpp: In function 'double kernelMatrix_sum(const vec&, const vec&, const vec&, const vec&, float, int)':
MMD_full_loop.cpp:85:56: warning: 'exp_f' may be used uninitialized in this function [-Wmaybe-uninitialized]
output_2 += w_x[i] * w_y[j] * exp_f(- 0.5 * b * b);
^
MMD_full_loop.cpp: In function 'double kernelMatrix_threshold_sum(const vec&, const vec&, const vec&, const vec&, float, float, int)':
MMD_full_loop.cpp:140:58: warning: 'exp_f' may be used uninitialized in this function [-Wmaybe-uninitialized]
output_2 += w_x[i] * w_y[j] * exp_f(- 0.5 * b * b);

Originally posted by @lukasfehrenbach in #4 (comment)

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions