@@ -223,22 +223,22 @@ def solid_angle_2d(A):
223
223
sage: A = matrix([[1,0],[0,1],[-1,1]])
224
224
sage: logging.disable(logging.NOTSET)
225
225
sage: solid_angle_2d(A)
226
- INFO:Decompose into simplicial subcones
226
+ INFO: Decompose into simplicial subcones
227
227
[1 0]
228
228
[0 1],
229
229
[ 0 1]
230
230
[-1 1]
231
- INFO:Solid angles of the subcones are [1/4, 1/2*arccos(1/2*sqrt(2))/pi]
231
+ INFO: Solid angles of the subcones are [1/4, 1/2*arccos(1/2*sqrt(2))/pi]
232
232
1/2*arccos(1/2*sqrt(2))/pi + 1/4
233
233
234
234
sage: A = matrix([[1,0],[0,1],[1,1]])
235
235
sage: solid_angle_2d(A)
236
- INFO:Decompose into simplicial subcones
236
+ INFO: Decompose into simplicial subcones
237
237
[1 0]
238
238
[1 1],
239
239
[0 1]
240
240
[1 1]
241
- INFO:Solid angles of the subcones are [1/2*arccos(1/2*sqrt(2))/pi, 1/2*arccos(1/2*sqrt(2))/pi]
241
+ INFO: Solid angles of the subcones are [1/2*arccos(1/2*sqrt(2))/pi, 1/2*arccos(1/2*sqrt(2))/pi]
242
242
arccos(1/2*sqrt(2))/pi
243
243
244
244
The following examples illustrate how the solid angle measure can equal
@@ -269,7 +269,7 @@ def solid_angle_2d(A):
269
269
0
270
270
"""
271
271
logging .getLogger ().setLevel (logging .INFO )
272
- logging .basicConfig (format = '%(levelname)s:%(message)s' , level = logging .INFO )
272
+ logging .basicConfig (format = '%(levelname)s: %(message)s' , level = logging .INFO )
273
273
if not is_Matrix (A ):
274
274
A = matrix (A )
275
275
P = A [0 ][0 ].parent ()
0 commit comments