fermisurfer Git
修訂 | 277cc23e99fa79f9ec91bf32b7cca03e5dd416bb (tree) |
---|---|
時間 | 2020-04-30 21:34:40 |
作者 | mitsuaki1987 <kawamitsuaki@gmai...> |
Commiter | mitsuaki1987 |
Run autoreconf on macos
should be > >
@@ -1354,8 +1354,8 @@ AC_DEFUN([WX_CONFIG_CHECK], | ||
1354 | 1354 | AC_MSG_CHECKING([for wxWidgets version >= $min_wx_version ($5)]) |
1355 | 1355 | fi |
1356 | 1356 | |
1357 | - dnl don't add the libraries (4th argument) to this variable as this would | |
1358 | - dnl result in an error when it's used with --version below | |
1357 | + dnl don't add the libraries ($4) to this variable as this would result in | |
1358 | + dnl an error when it's used with --version below | |
1359 | 1359 | WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args $5" |
1360 | 1360 | |
1361 | 1361 | WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null` |
@@ -1663,7 +1663,7 @@ AC_DEFUN([WX_ARG_ENABLE_YESNOAUTO], | ||
1663 | 1663 | $2=0 |
1664 | 1664 | elif test "$enableval" = "auto" ; then |
1665 | 1665 | AC_MSG_RESULT([will be automatically detected]) |
1666 | - $2="" | |
1666 | + $2="auto" | |
1667 | 1667 | else |
1668 | 1668 | AC_MSG_ERROR([ |
1669 | 1669 | Unrecognized option value (allowed values: yes, no, auto) |
@@ -1689,7 +1689,7 @@ AC_DEFUN([WX_ARG_WITH_YESNOAUTO], | ||
1689 | 1689 | $2=0 |
1690 | 1690 | elif test "$withval" = "auto" ; then |
1691 | 1691 | AC_MSG_RESULT([will be automatically detected]) |
1692 | - $2="" | |
1692 | + $2="auto" | |
1693 | 1693 | else |
1694 | 1694 | AC_MSG_ERROR([ |
1695 | 1695 | Unrecognized option value (allowed values: yes, auto) |
@@ -1741,17 +1741,17 @@ AC_DEFUN([WX_STANDARD_OPTIONS], | ||
1741 | 1741 | AC_MSG_CHECKING([for the --with-toolkit option]) |
1742 | 1742 | if test "$withval" = "auto" ; then |
1743 | 1743 | AC_MSG_RESULT([will be automatically detected]) |
1744 | - TOOLKIT="" | |
1744 | + TOOLKIT="auto" | |
1745 | 1745 | else |
1746 | 1746 | TOOLKIT="$withval" |
1747 | 1747 | |
1748 | 1748 | dnl PORT must be one of the allowed values |
1749 | - if test "$TOOLKIT" != "gtk1" -a "$TOOLKIT" != "gtk2" -a "$TOOLKIT" != "gtk3" -a \ | |
1749 | + if test "$TOOLKIT" != "gtk1" -a "$TOOLKIT" != "gtk2" -a \ | |
1750 | 1750 | "$TOOLKIT" != "msw" -a "$TOOLKIT" != "motif" -a \ |
1751 | 1751 | "$TOOLKIT" != "osx_carbon" -a "$TOOLKIT" != "osx_cocoa" -a \ |
1752 | - "$TOOLKIT" != "dfb" -a "$TOOLKIT" != "x11" -a "$TOOLKIT" != "base"; then | |
1752 | + "$TOOLKIT" != "dfb" -a "$TOOLKIT" != "x11"; then | |
1753 | 1753 | AC_MSG_ERROR([ |
1754 | - Unrecognized option value (allowed values: auto, gtk1, gtk2, gtk3, msw, motif, osx_carbon, osx_cocoa, dfb, x11, base) | |
1754 | + Unrecognized option value (allowed values: auto, gtk1, gtk2, msw, motif, osx_carbon, osx_cocoa, dfb, x11) | |
1755 | 1755 | ]) |
1756 | 1756 | fi |
1757 | 1757 |
@@ -1815,7 +1815,7 @@ AC_DEFUN([WX_STANDARD_OPTIONS], | ||
1815 | 1815 | AC_MSG_CHECKING([for the --with-wxversion option]) |
1816 | 1816 | if test "$withval" = "auto" ; then |
1817 | 1817 | AC_MSG_RESULT([will be automatically detected]) |
1818 | - WX_RELEASE="" | |
1818 | + WX_RELEASE="auto" | |
1819 | 1819 | else |
1820 | 1820 | |
1821 | 1821 | wx_requested_major_version=`echo $withval | \ |
@@ -1850,7 +1850,7 @@ dnl --------------------------------------------------------------------------- | ||
1850 | 1850 | dnl WX_CONVERT_STANDARD_OPTIONS_TO_WXCONFIG_FLAGS |
1851 | 1851 | dnl |
1852 | 1852 | dnl Sets the WXCONFIG_FLAGS string using the SHARED,DEBUG,UNICODE variable values |
1853 | -dnl which were specified. | |
1853 | +dnl which are different from "auto". | |
1854 | 1854 | dnl Thus this macro needs to be called only once all options have been set. |
1855 | 1855 | dnl --------------------------------------------------------------------------- |
1856 | 1856 | AC_DEFUN([WX_CONVERT_STANDARD_OPTIONS_TO_WXCONFIG_FLAGS], |
@@ -1874,11 +1874,11 @@ AC_DEFUN([WX_CONVERT_STANDARD_OPTIONS_TO_WXCONFIG_FLAGS], | ||
1874 | 1874 | WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--unicode=no " |
1875 | 1875 | fi |
1876 | 1876 | |
1877 | - if test -n "$TOOLKIT" ; then | |
1877 | + if test "$TOOLKIT" != "auto" ; then | |
1878 | 1878 | WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--toolkit=$TOOLKIT " |
1879 | 1879 | fi |
1880 | 1880 | |
1881 | - if test -n "$WX_RELEASE" ; then | |
1881 | + if test "$WX_RELEASE" != "auto" ; then | |
1882 | 1882 | WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--version=$WX_RELEASE " |
1883 | 1883 | fi |
1884 | 1884 |
@@ -1892,16 +1892,16 @@ AC_DEFUN([WX_CONVERT_STANDARD_OPTIONS_TO_WXCONFIG_FLAGS], | ||
1892 | 1892 | |
1893 | 1893 | |
1894 | 1894 | dnl --------------------------------------------------------------------------- |
1895 | -dnl _WX_SELECTEDCONFIG_CHECKFOR([RESULTVAR], [STRING], [MSG]) | |
1895 | +dnl _WX_SELECTEDCONFIG_CHECKFOR([RESULTVAR], [STRING], [MSG] | |
1896 | +dnl [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) | |
1896 | 1897 | dnl |
1897 | -dnl Sets WX_$RESULTVAR to the value of $RESULTVAR if it's defined. Otherwise, | |
1898 | -dnl auto-detect the value by checking for the presence of STRING in | |
1899 | -dnl $WX_SELECTEDCONFIG (which is supposed to be set by caller) and set | |
1900 | -dnl WX_$RESULTVAR to either 0 or 1, also outputting "yes" or "no" after MSG. | |
1898 | +dnl Outputs the given MSG. Then searches the given STRING in the wxWidgets | |
1899 | +dnl additional CPP flags and put the result of the search in WX_$RESULTVAR | |
1900 | +dnl also adding the "yes" or "no" message result to MSG. | |
1901 | 1901 | dnl --------------------------------------------------------------------------- |
1902 | 1902 | AC_DEFUN([_WX_SELECTEDCONFIG_CHECKFOR], |
1903 | 1903 | [ |
1904 | - if test -z "$$1" ; then | |
1904 | + if test "$$1" = "auto" ; then | |
1905 | 1905 | |
1906 | 1906 | dnl The user does not have particular preferences for this option; |
1907 | 1907 | dnl so we will detect the wxWidgets relative build setting and use it |
@@ -1916,9 +1916,11 @@ AC_DEFUN([_WX_SELECTEDCONFIG_CHECKFOR], | ||
1916 | 1916 | if test "$WX_$1" != "0"; then |
1917 | 1917 | WX_$1=1 |
1918 | 1918 | AC_MSG_RESULT([yes]) |
1919 | + ifelse([$4], , :, [$4]) | |
1919 | 1920 | else |
1920 | 1921 | WX_$1=0 |
1921 | 1922 | AC_MSG_RESULT([no]) |
1923 | + ifelse([$5], , :, [$5]) | |
1922 | 1924 | fi |
1923 | 1925 | else |
1924 | 1926 |
@@ -1965,16 +1967,19 @@ AC_DEFUN([WX_DETECT_STANDARD_OPTION_VALUES], | ||
1965 | 1967 | echo "[[dbg]] WX_SELECTEDCONFIG: $WX_SELECTEDCONFIG" |
1966 | 1968 | fi |
1967 | 1969 | |
1970 | + | |
1968 | 1971 | dnl we could test directly for WX_SHARED with a line like: |
1969 | 1972 | dnl _WX_SELECTEDCONFIG_CHECKFOR([SHARED], [shared], |
1970 | 1973 | dnl [if wxWidgets was built in SHARED mode]) |
1971 | 1974 | dnl but wx-config --selected-config DOES NOT outputs the 'shared' |
1972 | 1975 | dnl word when wx was built in shared mode; it rather outputs the |
1973 | 1976 | dnl 'static' word when built in static mode. |
1974 | - if test "$WX_SHARED" = "1"; then | |
1977 | + if test $WX_SHARED = "1"; then | |
1975 | 1978 | STATIC=0 |
1976 | - elif test "$WX_SHARED" = "0"; then | |
1979 | + elif test $WX_SHARED = "0"; then | |
1977 | 1980 | STATIC=1 |
1981 | + elif test $WX_SHARED = "auto"; then | |
1982 | + STATIC="auto" | |
1978 | 1983 | fi |
1979 | 1984 | |
1980 | 1985 | dnl Now set the WX_UNICODE, WX_DEBUG, WX_STATIC variables |
@@ -1997,7 +2002,7 @@ AC_DEFUN([WX_DETECT_STANDARD_OPTION_VALUES], | ||
1997 | 2002 | AC_SUBST(WX_SHARED) |
1998 | 2003 | |
1999 | 2004 | dnl detect the WX_PORT to use |
2000 | - if test -z "$TOOLKIT" ; then | |
2005 | + if test "$TOOLKIT" = "auto" ; then | |
2001 | 2006 | |
2002 | 2007 | dnl The user does not have particular preferences for this option; |
2003 | 2008 | dnl so we will detect the wxWidgets relative build setting and use it |
@@ -2005,26 +2010,22 @@ AC_DEFUN([WX_DETECT_STANDARD_OPTION_VALUES], | ||
2005 | 2010 | |
2006 | 2011 | WX_GTKPORT1=$(expr "$WX_SELECTEDCONFIG" : ".*gtk1.*") |
2007 | 2012 | WX_GTKPORT2=$(expr "$WX_SELECTEDCONFIG" : ".*gtk2.*") |
2008 | - WX_GTKPORT3=$(expr "$WX_SELECTEDCONFIG" : ".*gtk3.*") | |
2009 | 2013 | WX_MSWPORT=$(expr "$WX_SELECTEDCONFIG" : ".*msw.*") |
2010 | 2014 | WX_MOTIFPORT=$(expr "$WX_SELECTEDCONFIG" : ".*motif.*") |
2011 | 2015 | WX_OSXCOCOAPORT=$(expr "$WX_SELECTEDCONFIG" : ".*osx_cocoa.*") |
2012 | 2016 | WX_OSXCARBONPORT=$(expr "$WX_SELECTEDCONFIG" : ".*osx_carbon.*") |
2013 | 2017 | WX_X11PORT=$(expr "$WX_SELECTEDCONFIG" : ".*x11.*") |
2014 | 2018 | WX_DFBPORT=$(expr "$WX_SELECTEDCONFIG" : ".*dfb.*") |
2015 | - WX_BASEPORT=$(expr "$WX_SELECTEDCONFIG" : ".*base.*") | |
2016 | 2019 | |
2017 | 2020 | WX_PORT="unknown" |
2018 | 2021 | if test "$WX_GTKPORT1" != "0"; then WX_PORT="gtk1"; fi |
2019 | 2022 | if test "$WX_GTKPORT2" != "0"; then WX_PORT="gtk2"; fi |
2020 | - if test "$WX_GTKPORT3" != "0"; then WX_PORT="gtk3"; fi | |
2021 | 2023 | if test "$WX_MSWPORT" != "0"; then WX_PORT="msw"; fi |
2022 | 2024 | if test "$WX_MOTIFPORT" != "0"; then WX_PORT="motif"; fi |
2023 | 2025 | if test "$WX_OSXCOCOAPORT" != "0"; then WX_PORT="osx_cocoa"; fi |
2024 | 2026 | if test "$WX_OSXCARBONPORT" != "0"; then WX_PORT="osx_carbon"; fi |
2025 | 2027 | if test "$WX_X11PORT" != "0"; then WX_PORT="x11"; fi |
2026 | 2028 | if test "$WX_DFBPORT" != "0"; then WX_PORT="dfb"; fi |
2027 | - if test "$WX_BASEPORT" != "0"; then WX_PORT="base"; fi | |
2028 | 2029 | |
2029 | 2030 | dnl NOTE: backward-compatible check for wx2.8; in wx2.9 the mac |
2030 | 2031 | dnl ports are called 'osx_cocoa' and 'osx_carbon' (see above) |
@@ -2042,8 +2043,14 @@ AC_DEFUN([WX_DETECT_STANDARD_OPTION_VALUES], | ||
2042 | 2043 | |
2043 | 2044 | AC_MSG_RESULT([$WX_PORT]) |
2044 | 2045 | else |
2046 | + | |
2045 | 2047 | dnl Use the setting given by the user |
2046 | - WX_PORT=$TOOLKIT | |
2048 | + if test -z "$TOOLKIT" ; then | |
2049 | + WX_PORT=$TOOLKIT | |
2050 | + else | |
2051 | + dnl try with PORT | |
2052 | + WX_PORT=$PORT | |
2053 | + fi | |
2047 | 2054 | fi |
2048 | 2055 | |
2049 | 2056 | AC_SUBST(WX_PORT) |
@@ -2074,29 +2081,35 @@ AC_DEFUN([WX_DETECT_STANDARD_OPTION_VALUES], | ||
2074 | 2081 | ]) |
2075 | 2082 | fi |
2076 | 2083 | |
2077 | - dnl now we can finally update the options to their final values if they | |
2078 | - dnl were not already set | |
2079 | - if test -z "$UNICODE" ; then | |
2084 | + dnl now we can finally update the DEBUG,UNICODE,SHARED options | |
2085 | + dnl to their final values if they were set to 'auto' | |
2086 | + if test "$DEBUG" = "auto"; then | |
2087 | + DEBUG=$WX_DEBUG | |
2088 | + fi | |
2089 | + if test "$UNICODE" = "auto"; then | |
2080 | 2090 | UNICODE=$WX_UNICODE |
2081 | 2091 | fi |
2082 | - if test -z "$SHARED" ; then | |
2092 | + if test "$SHARED" = "auto"; then | |
2083 | 2093 | SHARED=$WX_SHARED |
2084 | 2094 | fi |
2085 | - if test -z "$TOOLKIT" ; then | |
2095 | + if test "$TOOLKIT" = "auto"; then | |
2086 | 2096 | TOOLKIT=$WX_PORT |
2087 | 2097 | fi |
2088 | 2098 | |
2089 | - dnl respect the DEBUG variable adding the optimize/debug flags and also | |
2090 | - dnl define a BUILD variable in case the user wants to use it | |
2091 | - dnl | |
2099 | + dnl in case the user needs a BUILD=debug/release var... | |
2100 | + if test "$DEBUG" = "1"; then | |
2101 | + BUILD="debug" | |
2102 | + elif test "$DEBUG" = "0" -o "$DEBUG" = ""; then | |
2103 | + BUILD="release" | |
2104 | + fi | |
2105 | + | |
2106 | + dnl respect the DEBUG variable adding the optimize/debug flags | |
2092 | 2107 | dnl NOTE: the CXXFLAGS are merged together with the CPPFLAGS so we |
2093 | 2108 | dnl don't need to set them, too |
2094 | 2109 | if test "$DEBUG" = "1"; then |
2095 | - BUILD="debug" | |
2096 | 2110 | CXXFLAGS="$CXXFLAGS -g -O0" |
2097 | 2111 | CFLAGS="$CFLAGS -g -O0" |
2098 | - elif test "$DEBUG" = "0"; then | |
2099 | - BUILD="release" | |
2112 | + else | |
2100 | 2113 | CXXFLAGS="$CXXFLAGS -O2" |
2101 | 2114 | CFLAGS="$CFLAGS -O2" |
2102 | 2115 | fi |
@@ -1,6 +1,6 @@ | ||
1 | 1 | #! /bin/sh |
2 | 2 | # Guess values for system-dependent variables and create Makefiles. |
3 | -# Generated by GNU Autoconf 2.69 for fermisurfer 2.0.0. | |
3 | +# Generated by GNU Autoconf 2.69 for fermisurfer 2.1.0. | |
4 | 4 | # |
5 | 5 | # Report bugs to <mkawamura@issp.u-tokyo.ac.jp>. |
6 | 6 | # |
@@ -580,8 +580,8 @@ MAKEFLAGS= | ||
580 | 580 | # Identity of this package. |
581 | 581 | PACKAGE_NAME='fermisurfer' |
582 | 582 | PACKAGE_TARNAME='fermisurfer' |
583 | -PACKAGE_VERSION='2.0.0' | |
584 | -PACKAGE_STRING='fermisurfer 2.0.0' | |
583 | +PACKAGE_VERSION='2.1.0' | |
584 | +PACKAGE_STRING='fermisurfer 2.1.0' | |
585 | 585 | PACKAGE_BUGREPORT='mkawamura@issp.u-tokyo.ac.jp' |
586 | 586 | PACKAGE_URL='' |
587 | 587 |
@@ -1315,7 +1315,7 @@ if test "$ac_init_help" = "long"; then | ||
1315 | 1315 | # Omit some internal or obsolete options to make the list less imposing. |
1316 | 1316 | # This message is too long to be a string in the A/UX 3.1 sh. |
1317 | 1317 | cat <<_ACEOF |
1318 | -\`configure' configures fermisurfer 2.0.0 to adapt to many kinds of systems. | |
1318 | +\`configure' configures fermisurfer 2.1.0 to adapt to many kinds of systems. | |
1319 | 1319 | |
1320 | 1320 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1321 | 1321 |
@@ -1385,7 +1385,7 @@ fi | ||
1385 | 1385 | |
1386 | 1386 | if test -n "$ac_init_help"; then |
1387 | 1387 | case $ac_init_help in |
1388 | - short | recursive ) echo "Configuration of fermisurfer 2.0.0:";; | |
1388 | + short | recursive ) echo "Configuration of fermisurfer 2.1.0:";; | |
1389 | 1389 | esac |
1390 | 1390 | cat <<\_ACEOF |
1391 | 1391 |
@@ -1502,7 +1502,7 @@ fi | ||
1502 | 1502 | test -n "$ac_init_help" && exit $ac_status |
1503 | 1503 | if $ac_init_version; then |
1504 | 1504 | cat <<\_ACEOF |
1505 | -fermisurfer configure 2.0.0 | |
1505 | +fermisurfer configure 2.1.0 | |
1506 | 1506 | generated by GNU Autoconf 2.69 |
1507 | 1507 | |
1508 | 1508 | Copyright (C) 2012 Free Software Foundation, Inc. |
@@ -1842,7 +1842,7 @@ cat >config.log <<_ACEOF | ||
1842 | 1842 | This file contains any messages produced by compilers while |
1843 | 1843 | running configure, to aid debugging if configure makes a mistake. |
1844 | 1844 | |
1845 | -It was created by fermisurfer $as_me 2.0.0, which was | |
1845 | +It was created by fermisurfer $as_me 2.1.0, which was | |
1846 | 1846 | generated by GNU Autoconf 2.69. Invocation command line was |
1847 | 1847 | |
1848 | 1848 | $ $0 $@ |
@@ -2705,7 +2705,7 @@ fi | ||
2705 | 2705 | |
2706 | 2706 | # Define the identity of the package. |
2707 | 2707 | PACKAGE='fermisurfer' |
2708 | - VERSION='2.0.0' | |
2708 | + VERSION='2.1.0' | |
2709 | 2709 | |
2710 | 2710 | |
2711 | 2711 | cat >>confdefs.h <<_ACEOF |
@@ -7563,7 +7563,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
7563 | 7563 | # report actual input values of CONFIG_FILES etc. instead of their |
7564 | 7564 | # values after options handling. |
7565 | 7565 | ac_log=" |
7566 | -This file was extended by fermisurfer $as_me 2.0.0, which was | |
7566 | +This file was extended by fermisurfer $as_me 2.1.0, which was | |
7567 | 7567 | generated by GNU Autoconf 2.69. Invocation command line was |
7568 | 7568 | |
7569 | 7569 | CONFIG_FILES = $CONFIG_FILES |
@@ -7629,7 +7629,7 @@ _ACEOF | ||
7629 | 7629 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
7630 | 7630 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
7631 | 7631 | ac_cs_version="\\ |
7632 | -fermisurfer config.status 2.0.0 | |
7632 | +fermisurfer config.status 2.1.0 | |
7633 | 7633 | configured by $0, generated by GNU Autoconf 2.69, |
7634 | 7634 | with options \\"\$ac_cs_config\\" |
7635 | 7635 |
@@ -1,5 +1,5 @@ | ||
1 | 1 | AC_PREREQ([2.69]) |
2 | -AC_INIT([fermisurfer], [2.0.0], [mkawamura@issp.u-tokyo.ac.jp]) | |
2 | +AC_INIT([fermisurfer], [2.1.0], [mkawamura@issp.u-tokyo.ac.jp]) | |
3 | 3 | AC_CONFIG_AUX_DIR([config]) |
4 | 4 | AM_INIT_AUTOMAKE([-Wall -Werror foreign]) |
5 | 5 | AC_CONFIG_HEADERS([config.h]) |
@@ -54,9 +54,9 @@ copyright = u'2017, kawamura' | ||
54 | 54 | # built documents. |
55 | 55 | # |
56 | 56 | # The short X.Y version. |
57 | -version = '2.0' | |
57 | +version = '2.1' | |
58 | 58 | # The full version, including alpha/beta/rc tags. |
59 | -release = '2.0.0' | |
59 | +release = '2.1.0' | |
60 | 60 | |
61 | 61 | # The language for content autogenerated by Sphinx. Refer to documentation |
62 | 62 | # for a list of supported languages. |
@@ -54,9 +54,9 @@ copyright = u'2017, kawamura' | ||
54 | 54 | # built documents. |
55 | 55 | # |
56 | 56 | # The short X.Y version. |
57 | -version = '2.0' | |
57 | +version = '2.1' | |
58 | 58 | # The full version, including alpha/beta/rc tags. |
59 | -release = '2.0.0' | |
59 | +release = '2.1.0' | |
60 | 60 | |
61 | 61 | # The language for content autogenerated by Sphinx. Refer to documentation |
62 | 62 | # for a list of supported languages. |
@@ -48,7 +48,7 @@ THE SOFTWARE. | ||
48 | 48 | void calc_nodeline() |
49 | 49 | { |
50 | 50 | int ib, itri, i, j, ithread, nnl0; |
51 | - std::vector<std::vector<std::vector<std::vector<GLfloat>>>> kvnl_v; | |
51 | + std::vector<std::vector<std::vector<std::vector<GLfloat> > > > kvnl_v; | |
52 | 52 | |
53 | 53 | kvnl_v.resize(nthreads); |
54 | 54 |
@@ -46,7 +46,7 @@ THE SOFTWARE. | ||
46 | 46 | */ |
47 | 47 | void equator() { |
48 | 48 | int ib, itri, i, j, ithread, nequator0; |
49 | - std::vector<std::vector<std::vector<std::vector<GLfloat>>>> kveq_v; | |
49 | + std::vector<std::vector<std::vector<std::vector<GLfloat> > > > kveq_v; | |
50 | 50 | |
51 | 51 | kveq_v.resize(nthreads); |
52 | 52 |
@@ -59,7 +59,7 @@ void equator() { | ||
59 | 59 | { |
60 | 60 | int sw[3]; |
61 | 61 | GLfloat a[3][3], prod[3]; |
62 | - std::vector<std::vector<GLfloat>> kveq_0; | |
62 | + std::vector<std::vector<GLfloat> > kveq_0; | |
63 | 63 | |
64 | 64 | kveq_0.resize(2); |
65 | 65 | for (i = 0; i < 2; i++) kveq_0.at(i).resize(3); |
@@ -275,7 +275,7 @@ void calc_2dbz() { | ||
275 | 275 | */ |
276 | 276 | void calc_section() { |
277 | 277 | int i, j, ib, itri, ithread, n2d0; |
278 | - std::vector<std::vector<std::vector<std::vector<GLfloat>>>> kv2d_v, clr2d_v; | |
278 | + std::vector<std::vector<std::vector<std::vector<GLfloat> > > > kv2d_v, clr2d_v; | |
279 | 279 | |
280 | 280 | kv2d_v.resize(nthreads); |
281 | 281 | clr2d_v.resize(nthreads); |
@@ -291,7 +291,7 @@ private(itri,i,j,ithread) | ||
291 | 291 | { |
292 | 292 | int sw[3]; |
293 | 293 | GLfloat norm[3], a[3][3]; |
294 | - std::vector<std::vector<GLfloat>> kv2d_0, clr2d_0; | |
294 | + std::vector<std::vector<GLfloat> > kv2d_0, clr2d_0; | |
295 | 295 | |
296 | 296 | kv2d_0.resize(2); |
297 | 297 | clr2d_0.resize(2); |