cugraph icon indicating copy to clipboard operation
cugraph copied to clipboard

[BUG]: variable cannot appear in its own initializer

Open YvanMokwinski opened this issue 1 year ago • 0 comments
trafficstars

Version

24.10

Which installation method(s) does this occur on?

Source

Describe the bug.

This line of code is a non-sense:

https://github.com/rapidsai/cugraph/blob/branch-24.12/cpp/src/c_api/core_number.cpp#L79

Minimum reproducible example

No response

Relevant log output

core_number.cpp:79:75: error: variable 'degree_type' declared with deduced type 'auto' cannot appear in its own initializer 79 | auto degree_type = reinterpret_castcugraph::k_core_degree_type_t(degree_type)

Environment details

No response

Other/Misc.

No response

Code of Conduct

  • [x] I agree to follow cuGraph's Code of Conduct
  • [x] I have searched the open bugs and have found no duplicates for this bug report

YvanMokwinski avatar Oct 21 '24 18:10 YvanMokwinski