A switch safety default statement.
Former-commit-id: 83924f9b7186028b9775fab3e0f1b12ecbc309f0
This commit is contained in:
parent
ee0086ccf5
commit
467c82c444
|
@ -30,6 +30,8 @@ complex double * hankelcoefftable_init(size_t maxn) {
|
|||
case 3:
|
||||
ifactor = I;
|
||||
break;
|
||||
default:
|
||||
abort();
|
||||
}
|
||||
// the result should be integer, so round to remove inaccuracies
|
||||
hcs[k] = round(exp(lcoeff)) * ifactor;
|
||||
|
|
Loading…
Reference in New Issue