Skip to content

Commit 743547a

Browse files
committed
fix a bug in calculating the optimal colour temp
Signed-off-by: Anton Dukhovnikov <[email protected]>
1 parent f8652f1 commit 743547a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rawtoaces_idt/rta.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1628,7 +1628,7 @@ DNGIdt::findXYZtoCameraMtx( const vector<double> &neutralRGB ) const
16281628
lerror =
16291629
mir - ccttoMired( XYZToColorTemperature( mulVector(
16301630
invertV( XYZtoCameraWeightedMatrix( mir, mir1, mir2 ) ),
1631-
_metadata.neutralRGB ) ) );
1631+
neutralRGB ) ) );
16321632

16331633
if ( std::fabs( lerror - 0.0 ) <= 1e-09 )
16341634
{

0 commit comments

Comments
 (0)