Skip to content

Commit 68edb2c

Browse files
committed
Remove some debug print statements
1 parent d9a2914 commit 68edb2c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/CCBlade.jl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,6 @@ function residual_and_outputs(phi, x, p) #rotor, section, op)
300300
R = sin(phi)/(1 + a) - Vx/Vy*cos(phi)/(1 - ap)
301301
end
302302

303-
304303
# ------- loads ---------
305304
W = sqrt((Vx + u)^2 + (Vy - v)^2)
306305
Np = cn*0.5*rho*W^2*chord
@@ -342,7 +341,7 @@ interval (xmin, xmax) into n intervals.
342341
Returns found, xl, xu.
343342
If found = true a bracket was found between (xl, xu)
344343
"""
345-
function firstbracket(f, xmin, xmax, n, backwardsearch=false, verbose=false)
344+
function firstbracket(f, xmin, xmax, n, backwardsearch=false)
346345

347346
xvec = range(xmin, xmax, length=n)
348347
if backwardsearch # start from xmax and work backwards
@@ -352,9 +351,6 @@ function firstbracket(f, xmin, xmax, n, backwardsearch=false, verbose=false)
352351
fprev = f(xvec[1])
353352
for i = 2:n
354353
fnext = f(xvec[i])
355-
if verbose
356-
println("xprev = $(xvec[i-1]), xnext = $(xvec[i]), fprev = $(fprev), fnext = $(fnext)")
357-
end
358354
if fprev*fnext < 0 # bracket found
359355
if backwardsearch
360356
return true, xvec[i], xvec[i-1]

0 commit comments

Comments
 (0)