ufl team mailing list archive
-
ufl team
-
Mailing list archive
-
Message #02027
Fwd: [Branch ~ufl-core/ufl/main] Rev 1192: Fix indentation bug introduced in last commit.
Related to indentation, I opened some UFL code recently and it had tab
characters. This screwed up the indentation, and as presented on my
screen made it ambiguous as to what the code should/would do. Is there
an easy way to search files for tab characters so we can then remove
them?
Garth
---------- Forwarded message ----------
From: <noreply@xxxxxxxxxxxxx>
Date: 20 September 2011 10:56
Subject: [Branch ~ufl-core/ufl/main] Rev 1192: Fix indentation bug
introduced in last commit.
To: Garth Wells <gnw20@xxxxxxxxx>
------------------------------------------------------------
revno: 1192
committer: Martin Sandve Alnæs <martinal@xxxxxxxxx>
branch nick: work
timestamp: Tue 2011-09-20 11:51:54 +0200
message:
Fix indentation bug introduced in last commit.
modified:
ufl/operators.py
--
lp:ufl
https://code.launchpad.net/~ufl-core/ufl/main
Your team UFL Core Team is subscribed to branch lp:ufl.
To unsubscribe from this branch go to
https://code.launchpad.net/~ufl-core/ufl/main/+edit-subscription
=== modified file 'ufl/operators.py'
--- ufl/operators.py 2011-09-20 09:35:48 +0000
+++ ufl/operators.py 2011-09-20 09:51:54 +0000
@@ -238,7 +238,7 @@
ii = indices(r + 1)
if r:
f = f[ii[:-1]]
- df = f.dx(ii[-1])
+ df = f.dx(ii[-1])
return as_tensor(df, ii)
return VariableDerivative(f, v)
=== modified file 'ufl/operators.py'
--- ufl/operators.py 2011-09-20 09:35:48 +0000
+++ ufl/operators.py 2011-09-20 09:51:54 +0000
@@ -238,7 +238,7 @@
ii = indices(r + 1)
if r:
f = f[ii[:-1]]
- df = f.dx(ii[-1])
+ df = f.dx(ii[-1])
return as_tensor(df, ii)
return VariableDerivative(f, v)
Follow ups