Skip to content

Commit 4f1a3a0

Browse files
committed
Merge branch 'master' of git://github.com/stevengj/libctl
2 parents d1ed131 + dd0d39c commit 4f1a3a0

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

autogen.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/sh
22

3+
mkdir -p m4
4+
35
# paranoia: sometimes autoconf doesn't get things right the first time
46
autoreconf --verbose --install --symlink --force
57
autoreconf --verbose --install --symlink --force

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ AC_HEADER_STDC
5454

5555
# Find Guile library, flags, etcetera:
5656

57-
AC_ARG_WITH(guile, [AC_HELP_STRING([--without-mpi],[disable use of Guile])],
57+
AC_ARG_WITH(guile, [AC_HELP_STRING([--without-guile],[disable use of Guile])],
5858
with_guile=$withval, with_guile=yes)
5959

6060
if test x"$with_guile" = xyes; then

utils/geom.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1467,7 +1467,7 @@ static void find_best_partition(int nobjects, const geom_box_object *objects,
14671467
low end of an object. */
14681468

14691469
for (i = 0; i < nobjects; ++i) {
1470-
cur_partition = VEC_I(objects[i].box.high, divide_axis) + SMALL;
1470+
cur_partition = VEC_I(objects[i].box.high, divide_axis) * (1 + SMALL);
14711471
cur_n1 = cur_n2 = 0;
14721472
for (j = 0; j < nobjects; ++j) {
14731473
if (VEC_I(objects[j].box.low, divide_axis) <= cur_partition)
@@ -1483,7 +1483,7 @@ static void find_best_partition(int nobjects, const geom_box_object *objects,
14831483
}
14841484
}
14851485
for (i = 0; i < nobjects; ++i) {
1486-
cur_partition = VEC_I(objects[i].box.low, divide_axis) - SMALL;
1486+
cur_partition = VEC_I(objects[i].box.low, divide_axis) * (1 - SMALL);
14871487
cur_n1 = cur_n2 = 0;
14881488
for (j = 0; j < nobjects; ++j) {
14891489
if (VEC_I(objects[j].box.low, divide_axis) <= cur_partition)

0 commit comments

Comments
 (0)