fix bugs after refactor
This commit is contained in:
parent
ff3951ba35
commit
8e3706948e
1 changed files with 20 additions and 31 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue