[yt-dev] duplicate obtain_rvec and obtain_rv_vec functions in source

Britton Smith brittonsmith at gmail.com
Tue Oct 27 07:39:53 PDT 2015


Hi all,

It seems that there are two definitions in the yt source of the following
functions:
- obtain_rvec
- obtain_rv_vec

For each of these, one is in utilities/lib/misc_utilities.pyx and the other
is in utilities/lib/geometry_utils.pyx.  Also in each case, the source code
for each is extremely similar, with the versions in misc_utilities
containing additional keywords.  At least in the case of obtain_rv_vec,
both versions are called in different places in the code.  Does anyone know
of a reason for this?  If there is one, this looks like a mess that should
probably be cleaned up.

Britton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20151027/dbcc7cf6/attachment.htm>


More information about the yt-dev mailing list