Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

Commit

Permalink
Corr. func. name per 82a4bad
Browse files Browse the repository at this point in the history
  • Loading branch information
peter17 committed Nov 7, 2013
1 parent ce5bc0b commit 1512d33
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions hedge/optemplate/mappers/bc_to_flux.py
Expand Up @@ -272,8 +272,8 @@ def map_flux_exchange(self, expr):

mbfeef = MaxBoundaryFluxEvaluableExpressionFinder(list(vol_field),
self.expensive_bdry_op_detector)
#from hedge.optemplate.tools import pretty_print_optemplate
#print pretty_print_optemplate(bdry_field)
#from hedge.optemplate.tools import pretty
#print pretty(bdry_field)
#raw_input("YO")
new_bdry_field = mbfeef(bdry_field)

Expand Down
4 changes: 2 additions & 2 deletions hedge/optemplate/mappers/type_inference.py
Expand Up @@ -94,10 +94,10 @@ def unify(self, other, expr=None):
if u_s_o is NotImplemented:
if u_o_s is NotImplemented:
if expr is not None:
from hedge.optemplate.tools import pretty_print_optemplate
from hedge.optemplate.tools import pretty
raise TypeError("types '%s' and '%s' for '%s' "
"cannot be unified" % (self, other,
pretty_print_optemplate(expr)))
pretty(expr)))
else:
raise TypeError("types '%s' and '%s' cannot be unified"
% (self, other))
Expand Down
8 changes: 4 additions & 4 deletions hedge/second_order.py
Expand Up @@ -112,9 +112,9 @@ def map_operator_binding(self, expr, quad_above=[]):
"when generating stabilization term")
return self.rec(expr.field, [expr.op])
else:
from hedge.optemplate.tools import pretty_print_optemplate
from hedge.optemplate.tools import pretty
raise ValueError("stabilization term generator doesn't know "
"what to do with '%s'" % pretty_print_optemplate(expr))
"what to do with '%s'" % pretty(expr))

def map_variable(self, expr, quad_above=[]):
from hedge.flux import FieldComponent
Expand Down Expand Up @@ -196,9 +196,9 @@ def map_operator_binding(self, expr):
return hedge.optemplate.IdentityMapper.map_operator_binding(
self, expr)
else:
from hedge.optemplate.tools import pretty_print_optemplate
from hedge.optemplate.tools import pretty
raise ValueError("IPDG derivative generator doesn't know "
"what to do with '%s'" % pretty_print_optemplate(expr))
"what to do with '%s'" % pretty(expr))


# {{{ second derivative target
Expand Down

0 comments on commit 1512d33

Please sign in to comment.