mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
dev-python/pyamg: remove unused patches
Closes: https://github.com/gentoo/gentoo/pull/2313 Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
--- pyamg/gallery/stencil.py.orig 2011-08-06 20:26:36.000000000 +0100
|
||||
+++ pyamg/gallery/stencil.py 2011-08-06 20:27:12.000000000 +0100
|
||||
@@ -85,7 +85,7 @@
|
||||
|
||||
# compute index offset of each dof within the stencil
|
||||
strides = numpy.cumprod( [1] + list(reversed(grid)) )[:-1]
|
||||
- indices = S.nonzero()
|
||||
+ indices = tuple(i.copy() for i in S.nonzero())
|
||||
for i,s in zip(indices,S.shape):
|
||||
i -= s // 2
|
||||
for stride,coords in zip(strides, reversed(indices)):
|
||||
@@ -1,16 +0,0 @@
|
||||
pyamg/amg_core/ruge_stuben.h | 2 ++
|
||||
1 files changed, 2 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/pyamg/amg_core/ruge_stuben.h b/pyamg/amg_core/ruge_stuben.h
|
||||
index 51cec80..d0ff9a9 100644
|
||||
--- a/pyamg/amg_core/ruge_stuben.h
|
||||
+++ b/pyamg/amg_core/ruge_stuben.h
|
||||
@@ -7,6 +7,8 @@
|
||||
#include <cassert>
|
||||
#include <limits>
|
||||
#include <algorithm>
|
||||
+#include "graph.h"
|
||||
+#include "linalg.h"
|
||||
|
||||
/*
|
||||
* Compute a strength of connection matrix using the classical strength
|
||||
Reference in New Issue
Block a user