Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 26e4689

Browse files
committed
modified copyright banner
1 parent f563aba commit 26e4689

File tree

3 files changed

+22
-13
lines changed

3 files changed

+22
-13
lines changed

src/sage/rings/polynomial/skew_polynomial_element.pyx

+10-7
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,23 @@ along with :class:`~sage.rings.polynomial.skew_polynomial_element.ConstantSkewPo
1313
and :class:`~sage.rings.polynomial.skew_polynomial_element.SkewPolynomialBaseringInjection`
1414
for conversion from a skew polynomial ring to its base ring and vice versa respectively.
1515
16-
AUTHOR:
16+
AUTHORS:
1717
1818
- Xavier Caruso (2012-06-29): initial version
1919
2020
- Arpit Merchant (2016-08-04): improved docstrings, fixed doctests and refactored classes and methods
2121
22-
- Johan Nielson (2016-08-03): changes for bug fixes, docstring and doctest errors
22+
- Johan Rosenkilde (2016-08-03): changes for bug fixes, docstring and doctest errors
23+
2324
"""
2425

2526
#############################################################################
2627
# Copyright (C) 2012 Xavier Caruso <[email protected]>
2728
#
28-
# Distributed under the terms of the GNU General Public License (GPL)
29-
#
29+
# This program is free software: you can redistribute it and/or modify
30+
# it under the terms of the GNU General Public License as published by
31+
# the Free Software Foundation, either version 2 of the License, or
32+
# (at your option) any later version.
3033
# http://www.gnu.org/licenses/
3134
#****************************************************************************
3235

@@ -296,8 +299,8 @@ cdef class SkewPolynomial(AlgebraElement):
296299
sage: a < b
297300
False
298301
"""
299-
cdef list x = (<SkewPolynomial>left)._coeffs
300-
cdef list y = (<SkewPolynomial>right)._coeffs
302+
cdef x = (<SkewPolynomial>left)._coeffs
303+
cdef y = (<SkewPolynomial>right)._coeffs
301304
return PyObject_RichCompare(x, y, op)
302305

303306
cdef SkewPolynomial _new_c(self, list coeffs, Parent P, char check=0):
@@ -2754,7 +2757,7 @@ cdef class SkewPolynomial_generic_dense(SkewPolynomial):
27542757
r = <SkewPolynomial_generic_dense>self._parent(v)
27552758
else:
27562759
r = <SkewPolynomial_generic_dense>self._new_c(list(self._coeffs),self._parent)
2757-
r = r**exp
2760+
r._inplace_pow(exp)
27582761

27592762
if modulus:
27602763
_, r = r.left_quo_rem(modulus)

src/sage/rings/polynomial/skew_polynomial_ring.py

+6-3
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,17 @@
1414
1515
- Arpit Merchant (2016-08-04): improved docstrings, fixed doctests and refactored classes and methods
1616
17-
- Johan Nielson (2016-08-03): changes for bug fixes, docstring and doctest errors
17+
- Johan Rosenkilde (2016-08-03): changes for bug fixes, docstring and doctest errors
18+
1819
"""
1920

2021
#############################################################################
2122
# Copyright (C) 2012 Xavier Caruso <[email protected]>
2223
#
23-
# Distributed under the terms of the GNU General Public License (GPL)
24-
#
24+
# This program is free software: you can redistribute it and/or modify
25+
# it under the terms of the GNU General Public License as published by
26+
# the Free Software Foundation, either version 2 of the License, or
27+
# (at your option) any later version.
2528
# http://www.gnu.org/licenses/
2629
#****************************************************************************
2730

src/sage/rings/polynomial/skew_polynomial_ring_constructor.py

+6-3
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,17 @@
1212
1313
- Arpit Merchant (2016-08-04): improved docstrings, added doctests and refactored method
1414
15-
- Johan Nielson (2016-08-03): changes to import format
15+
- Johan Rosenkilde (2016-08-03): changes to import format
16+
1617
"""
1718

1819
#############################################################################
1920
# Copyright (C) 2012 Xavier Caruso <[email protected]>
2021
#
21-
# Distributed under the terms of the GNU General Public License (GPL)
22-
#
22+
# This program is free software: you can redistribute it and/or modify
23+
# it under the terms of the GNU General Public License as published by
24+
# the Free Software Foundation, either version 2 of the License, or
25+
# (at your option) any later version.
2326
# http://www.gnu.org/licenses/
2427
#****************************************************************************
2528

0 commit comments

Comments
 (0)