[PATCH 2/2] Allow the user to specify weight units explicitly

Anton Lundin glance at acc.umu.se
Thu Jan 2 23:53:26 UTC 2014


On 02 January, 2014 - Linus Torvalds wrote:

> Bisected to commit f9b7c5dfe9d0 ("Make units in cells consistant in
> CylindersModel").
> 
> I'm guessing that Anton - being Swedish - has never been exposed to
> the horrors that are imperial cylinder sizing.
> 
> Anyway, that commit is wrong, because it dropped the
> 
>         if (mbar && prefs.units.volume == prefs.units.CUFT) {
> ...
>                 volume *= bar_to_atm(mbar / 1000.0);
>         }
> 
> part of the cylinder volume thing.
> 

I'm obviously not compatible with the weirdness of the imperial system
so "thank you" Linus for showing more of the horrors lurking there =)

But, i should have spotted that one, cause i actually use a bunch of
AL80's and AL40's, not for there fantastic volume units, but for the
quite nice bouncy characteristics of them.

//Anton

-- 
Anton Lundin	+46702-161604


More information about the subsurface mailing list