Add warning message if E or H poly source has multiplier m

This commit is contained in:
Holger Vogt 2025-05-11 17:34:39 +02:00
parent cf2293c317
commit 359c321dcf
1 changed files with 6 additions and 0 deletions

View File

@ -482,6 +482,12 @@ static char *two2three_translate(
tfree(multi);
}
if (multi && (type == 'e' || type == 'E' || type == 'h' || type == 'H')) {
fprintf(stderr, "Warning: multiplier m not available for E and H poly sources, ignored as\n"
" %s\n", orig_card);
tfree(multi);
}
#ifdef TRACE
/* SDB debug statement */
printf("In two2three_translate, translated statements:\n%s \n%s \n", *inst_card, *mod_card);