CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 1 of 1
Search took 0.00 seconds.
Search: Posts Made By: paul b
Forum: OpenFOAM Programming & Development December 5, 2016, 07:43
Replies: 2
Views: 837
Posted By paul b
Hi Svensen, I think your problem is the...

Hi Svensen,

I think your problem is the comparison of two floating point numbers.
They might both look like 0.0006 but may indeed be 0.0005999999 and 0.0006000000. That's why you get false.
...
Showing results 1 to 1 of 1

 
Forum Jump

All times are GMT -4. The time now is 13:32.