Skip to content

Ensure to_loopy_type returns a dtype with correct target set, if specified

Nick Curtis requested to merge arghdos/loopy:to_loopy_type_fix into master

Minor fix to what (I see) as an unintuitive use case of to_loopy_type. I realized after the fact that there is a more simple with_target that may be called directly on the dtype, but it still took me a bit to realize that the target field was being ignored when a LoopyType was being passed as the dtype into this function

Merge request reports