kat icon indicating copy to clipboard operation
kat copied to clipboard

NameError: name 'kat_rational_cu' is not defined

Open pAbhit007 opened this issue 5 months ago • 0 comments

I have successfully installed the kat_rational_cu module, but I’m still encountering an error when trying to use it. The error occurs during execution and points to a missing reference to the module:

NameError: name 'kat_rational_cu' is not defined

Specifically, this happens at the following line in the code:

x = kat_rational_cu.rational_fwd_1dgroup(input, weight_numerator, weight_denominator, group)

Even though the module has been installed correctly, it appears that kat_rational_cu is not imported or accessible in the scope where it is being called. Please let me know how to resolve this or if the import statement is missing in the relevant source file.

pAbhit007 avatar Jul 15 '25 09:07 pAbhit007