fix bugs after refactor

This commit is contained in:
jan 2016-08-03 15:03:47 -07:00
commit 8e3706948e

View file

@ -2,7 +2,6 @@
* Apply PEC and preconditioner.
*
* Template parameters:
* ctype name of complex type (eg. cdouble)
* pec false iff no PEC anyhwere
*
* Arguments:
@ -13,12 +12,6 @@
*/
//Defines to clean up operation names
#define ctype {{ctype}}_t
#define zero {{ctype}}_new(0.0, 0.0)
#define mul {{ctype}}_mul
{%- if pec -%}
if (pec[i] != 0) {
E[i] = zero;