This seems odd, since the operator overload is clearly defined in Tensor2DI.H, and I'm not performing any conversions from tensor2D to tensor. Any ideas?

olesen

December 8, 2009 03:17

Quote:

Originally Posted by deepsterblue
(Post 239039)

The following source fails to compile:
...
/home/smenon/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/Tensor2DI.H: In function typename Foam::innerProduct... :

This seems odd, since the operator overload is clearly defined in Tensor2DI.H, and I'm not performing any conversions from tensor2D to tensor. Any ideas?

Did you look at 1.6.x first?
If you do, you'll see that this has been fixed. And you'll also see why was previously failing.
Specifically, take a look at commit d8d420a364ddc2b368063f994ca589bccf17a2ed

deepsterblue

December 10, 2009 16:01

Mark,
Thanks for pointing me in the right direction...
Call me a git-noob, but is there some way that I can browse the repository (in a web-browser perhaps) to look at a specific revision / commit? I'm looking to avoid downloading the entire thing...