Closed mw66 closed 2 years ago
Hi, if I recall, for the batch mode nA does not need to equal nB. Actually I think one of the unit tests confirms they may be different (L21-27) in https://github.com/garrettwrong/cuTWED/blob/master/tests/test_batch.py .
I think this was just a typo in the docstring. I will update it in the source, but I may not be able to make another release right away.
Can I ask how you are using this software? I'm glad people are using it. It would be helpful to understand so I know how much time I should make for maintaining it. Thanks
https://github.com/garrettwrong/cuTWED/blob/master/cuTWED/cuTWED.py#L216
should it be:
i.e.
nA
may not ==nB
because in https://github.com/garrettwrong/cuTWED/blob/master/cuTWED/cuTWED.py#L263
nA
, andnB
are passed separately into func (i.e.lib.twed_batch
)If the requirement is that
nA == nB
, can we add a special note to the doc string to stress this fact? and also add an assertion on https://github.com/garrettwrong/cuTWED/blob/master/cuTWED/cuTWED.py#L240and also on https://github.com/garrettwrong/cuTWED/blob/master/cuTWED/cuTWED.py#L263 , pass only
nA
twice to the func both on line AA and line BB to enforce this requirement.Thanks.