updated 3rd party libs: CLapack 3.1.1.1 => 3.2.1, zlib 1.2.3 => 1.2.5, libpng 1.2.x => 1.4.3, libtiff 3.7.x => 3.9.4. fixed many 64-bit related VS2010 warnings
This commit is contained in:
17
3rdparty/lapack/iparmq.c
vendored
17
3rdparty/lapack/iparmq.c
vendored
@@ -1,5 +1,18 @@
|
||||
/* iparmq.f -- translated by f2c (version 20061008).
|
||||
You must link the resulting object file with libf2c:
|
||||
on Microsoft Windows system, link with libf2c.lib;
|
||||
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
|
||||
or, if you install libf2c.a in a standard place, with -lf2c -lm
|
||||
-- in that order, at the end of the command line, as in
|
||||
cc *.o -lf2c -lm
|
||||
Source for libf2c is in /netlib/f2c/libf2c.zip, e.g.,
|
||||
|
||||
http://www.netlib.org/f2c/libf2c.zip
|
||||
*/
|
||||
|
||||
#include "clapack.h"
|
||||
|
||||
|
||||
integer iparmq_(integer *ispec, char *name__, char *opts, integer *n, integer
|
||||
*ilo, integer *ihi, integer *lwork)
|
||||
{
|
||||
@@ -15,7 +28,7 @@ integer iparmq_(integer *ispec, char *name__, char *opts, integer *n, integer
|
||||
integer nh, ns;
|
||||
|
||||
|
||||
/* -- LAPACK auxiliary routine (version 3.1) -- */
|
||||
/* -- LAPACK auxiliary routine (version 3.2) -- */
|
||||
/* Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. */
|
||||
/* November 2006 */
|
||||
|
||||
@@ -189,7 +202,7 @@ integer iparmq_(integer *ispec, char *name__, char *opts, integer *n, integer
|
||||
}
|
||||
if (nh >= 150) {
|
||||
/* Computing MAX */
|
||||
r__1 = (real)(log((doublereal) nh) / log(2.));
|
||||
r__1 = log((real) nh) / log(2.f);
|
||||
i__1 = 10, i__2 = nh / i_nint(&r__1);
|
||||
ns = max(i__1,i__2);
|
||||
}
|
||||
|
Reference in New Issue
Block a user