~ubuntu-branches/ubuntu/vivid/regina-normal/vivid-proposed

« back to all changes in this revision

Viewing changes to engine/snappea/kernel/hyperbolic_structure.c

  • Committer: Package Import Robot
  • Author(s): Ben Burton
  • Date: 2011-09-10 07:17:25 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: package-import@ubuntu.com-20110910071725-97n90tywdq60w2cr
Tags: 4.90-1
* New upstream release!
* The user interface has been ported from KDE3 to KDE4 (closes: #556318).
  Re-enabled the GUI as a result.
* The build system has been ported from autotools to cmake.
* The new upstream release builds fine on amd64 (closes: #624882).
* Moved the users' handbook into regina-normal-doc.
* Upgraded several suggests/recommends.  Upgraded regina-normal-mpi to
  depend on mpi-default-bin, and regina-normal to depend on both graphviz
  and regina-normal-doc (which the GUI expends to be present).  Upgraded
  regina-normal to recommend gap.
* Bumped standards-version to 3.9.2.0 (no changes required).

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
#include "kernel.h"
93
93
 
94
94
 
95
 
const static ComplexWithLog regular_shape =     {
 
95
static const ComplexWithLog regular_shape =     {
96
96
                                                                                                {0.5, ROOT_3_OVER_2},
97
97
                                                                                                {0.0, PI_OVER_3}
98
98
                                                                                        };
391
391
SolutionType do_Dehn_filling(
392
392
        Triangulation *manifold)
393
393
{
394
 
        Complex **complex_equations,
 
394
        Complex **complex_equations             = NULL,
395
395
                        *delta;
396
 
        double  **real_equations,
 
396
        double  **real_equations                = NULL,
397
397
                        distance_to_solution,
398
398
                        distance_ratio;
399
399
        int             num_rows,
400
400
                        num_columns,
401
401
                        iterations,
402
 
                        result;
 
402
                        result                                  = 0;
403
403
        Boolean convergence_is_quadratic,
404
404
                        solution_was_found,
405
405
                        iteration_limit_exceeded;
611
611
                        (cusp->m == 0.0 && cusp->l == 0.0) || (cusp->topology == Klein_cusp && cusp->l != 0.0)
612
612
                   )
613
613
 
614
 
                        uFatalError("verify_coefficients", "hyperbolic_structure");
 
614
                        uFatalError("verify_coefficients", "hyperbolic_structure.c");
615
615
}
616
616
 
617
617
 
1191
1191
        ChernSimonsInfo chern_simons_info;
1192
1192
 
1193
1193
        if (manifold->solution_type[complete] == not_attempted)
1194
 
                uFatalError("polish_hyperbolic_structures", "polish_hyperbolic_structures");
 
1194
                uFatalError("polish_hyperbolic_structures", "polish_hyperbolic_structures.c");
1195
1195
 
1196
1196
        save_chern_simons(manifold, &chern_simons_info);
1197
1197
        allocate_arrays(manifold, &save_shapes, &save_cusp_info);