check input _and_ output vector for selecting the right kernel, fixes #312
check input _and_ output vector for selecting the right kernel, fixes #312

RRZE-HPC/GHOST,RRZE-HPC/GHOST,RRZE-HPC/GHOST,RRZE-HPC/GHOST