You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Ole Ersoy <ol...@gmail.com> on 2016/01/02 07:50:18 UTC

[math] RealVector.cosine() missing checkVectorDimension?

I think RealVector.cosine() is missing the checkVectorDimensions(v) check?


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [math] RealVector.cosine() missing checkVectorDimension?

Posted by Ole Ersoy <ol...@gmail.com>.

On 01/02/2016 04:12 AM, Gilles wrote:
> On Sat, 2 Jan 2016 00:50:18 -0600, Ole Ersoy wrote:
>> I think RealVector.cosine() is missing the checkVectorDimensions(v) check?
>>
>
> "checkVectorDimensions" is called by "dotProduct".
Oh good...at least one of us knows how to read code :).

Ole

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [math] RealVector.cosine() missing checkVectorDimension?

Posted by Gilles <gi...@harfang.homelinux.org>.
On Sat, 2 Jan 2016 00:50:18 -0600, Ole Ersoy wrote:
> I think RealVector.cosine() is missing the checkVectorDimensions(v) 
> check?
>

"checkVectorDimensions" is called by "dotProduct".

Gilles


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org