Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
After second correction (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
borassi committed May 20, 2015
1 parent 4280fce commit 4c55f5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sage/graphs/hyperbolicity.pyx
Expand Up @@ -597,7 +597,7 @@ cdef inline pair** sort_pairs(uint32_t N,
# Compute the hyperbolicity using the algorithm of [CCL12]_
######################################################################

cdef tuple hyperbolicity_ccl(int N,
cdef tuple hyperbolicity_CCL(int N,
unsigned short ** distances,
unsigned short ** far_apart_pairs,
int D,
Expand Down Expand Up @@ -1147,7 +1147,7 @@ def hyperbolicity(G,
# required parameters.
if algorithm in ['CCL', 'CCL+FA']:
sig_on()
hyp, certif, hyp_UB = hyperbolicity_ccl(N, distances, far_apart_pairs, D, hyp,
hyp, certif, hyp_UB = hyperbolicity_CCL(N, distances, far_apart_pairs, D, hyp,
approximation_factor, 2*additive_gap, verbose)
sig_off()

Expand All @@ -1169,7 +1169,7 @@ def hyperbolicity(G,
distances[i][j] = 0
distances[j][i] = 0
sig_on()
hyp, certif, hyp_UB = hyperbolicity_ccl(N, distances, NULL, D, hyp, 1.0, 0.0, verbose)
hyp, certif, hyp_UB = hyperbolicity_CCL(N, distances, NULL, D, hyp, 1.0, 0.0, verbose)
sig_off()
hyp_UB = min( hyp+8, D)

Expand Down

0 comments on commit 4c55f5e

Please sign in to comment.