From dd5339dba2a9212940ba5a8dd34c89e5f0d5a5e7 Mon Sep 17 00:00:00 2001
From: Alex Fikl <alexfikl@gmail.com>
Date: Wed, 7 Feb 2018 19:35:13 -0600
Subject: [PATCH] add correct copyright

---
 sumpy/p2p.py           | 9 ++++++---
 test/test_matrixgen.py | 2 +-
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/sumpy/p2p.py b/sumpy/p2p.py
index 6899e795..359e1ac0 100644
--- a/sumpy/p2p.py
+++ b/sumpy/p2p.py
@@ -1,6 +1,9 @@
 from __future__ import division, absolute_import
 
-__copyright__ = "Copyright (C) 2012 Andreas Kloeckner"
+__copyright__ = """
+Copyright (C) 2012 Andreas Kloeckner
+Copyright (C) 2018 Alexandru Fikl
+"""
 
 __license__ = """
 Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -206,7 +209,7 @@ class P2P(P2PBase):
     def get_result_store_instructions(self):
         return ["""
                 result[{i}, itgt] = knl_{i}_scaling \
-                    * simul_reduce(sum, isrc, pair_result_{i})
+                    * simul_reduce(sum, isrc, pair_result_{i}) {inames=itgt}
                 """.format(i=iknl)
                 for iknl in range(len(self.kernels))]
 
@@ -242,7 +245,7 @@ class P2PMatrixGenerator(P2PBase):
         return [
                 """
                 result_{i}[itgt, isrc] = \
-                    knl_{i}_scaling * pair_result_{i}
+                    knl_{i}_scaling * pair_result_{i} {inames=isrc:itgt}
                 """.format(i=iknl)
                 for iknl in range(len(self.kernels))
                 ]
diff --git a/test/test_matrixgen.py b/test/test_matrixgen.py
index 592cc0cd..244a555b 100644
--- a/test/test_matrixgen.py
+++ b/test/test_matrixgen.py
@@ -1,6 +1,6 @@
 from __future__ import division, absolute_import, print_function
 
-__copyright__ = "Copyright (C) 2017 Matt Wala"
+__copyright__ = "Copyright (C) 2018 Alexandru Fikl"
 
 __license__ = """
 Permission is hereby granted, free of charge, to any person obtaining a copy
-- 
GitLab