That solved it. Thanks, Will ________________________________________ From: firedrake-bounces@imperial.ac.uk <firedrake-bounces@imperial.ac.uk> on behalf of Lawrence Mitchell <lawrence.mitchell@imperial.ac.uk> Sent: 11 May 2016 14:42:46 To: firedrake@imperial.ac.uk Subject: Re: [firedrake] Trying to print discrete divergence
On 11 May 2016, at 14:40, William Booker <scwb@leeds.ac.uk> wrote:
Updated and ran firedrake -clean but I'm still getting an error
TypeError: not all arguments converted during string formatting.
Which I take to mean I'm doing something wrong in creating the number that is my measure of divergence free on my initial velocity
Your code has: print "l2 norm of discrete divergence on initial velocity is " % u_div_norm But you haven't supplied a format string to paste in u_div_norm Lawrence