Skip to content

Commit 62f2208

Browse files
ybillchenjobovy
authored andcommitted
Change to NotImplementedError for abstract function
1 parent ad59bd4 commit 62f2208

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

galpy/df/streamspraydf.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -371,8 +371,7 @@ def spray_df(self, xyzpt, vxyzpt, dt):
371371
vxst, vyst, vzst : array, shape (N,)
372372
Velocities of points on the stream in the progenitor coordinates.
373373
"""
374-
warnings.warn("Not implemented!", NotImplementedError, stacklevel=1)
375-
pass
374+
raise NotImplementedError
376375

377376

378377
class chen24spraydf(basestreamspraydf):

0 commit comments

Comments
 (0)