Fix bug no. 708, reported by Philip Sauvage.

This commit is contained in:
Holger Vogt 2024-10-20 23:32:16 +02:00
parent 16798edb36
commit 27db91480b
1 changed files with 1 additions and 1 deletions

View File

@ -695,7 +695,7 @@ struct card *pspice_compat(struct card *oldcard)
nextcard = insert_new_line(nextcard, new_str, 7, 0, "internal");
new_str = copy(".func if(a, b, c) {ternary_fcn( a , b , c )}");
nextcard = insert_new_line(nextcard, new_str, 8, 0, "internal");
new_str = copy(".func int(x) { sign(x)*floor(abs(x)) }");
new_str = copy(".func int(x) { sgn(x)*floor(abs(x)) }");
nextcard = insert_new_line(nextcard, new_str, 9, 0, "internal");
nextcard->nextcard = oldcard;