Skip to content

Commit 58e2346

Browse files
committed
fix
1 parent eb680c2 commit 58e2346

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/BloodFlowTrixiDataInterpolationsExt.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ module BloodFlowTrixiDataInterpolationsExt
2323
a,b,c = tanj(s)
2424
# return a any normal vector
2525
if a != 0
26-
return [-b,a,0]
26+
return [-b,a,0]/sqrt(a^2+b^2)
2727
elseif b != 0
28-
return [-b,a,0]
28+
return [-b,a,0]/sqrt(a^2+b^2)
2929
else
30-
return [-c,b,a]
30+
return [-sign(c),0,0]
3131
end
3232
end
3333
return res/n

0 commit comments

Comments
 (0)