diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-04-22 14:01:19 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-04-22 14:01:19 +0100 |
| commit | 7ff5a08960fc0d8ab10ce9b0d79e677000cd07e0 (patch) | |
| tree | 4f1305e4410621f32d0ff5b31360ff64191eb698 | |
| parent | 86bfdeb77f55b379302a65b22f57fc0583ec6b3c (diff) | |
Fix crash in previous.
| -rw-r--r-- | src/colour_conversion.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/colour_conversion.cc b/src/colour_conversion.cc index a5f77f0a..59aadf1a 100644 --- a/src/colour_conversion.cc +++ b/src/colour_conversion.cc @@ -168,7 +168,7 @@ ColourConversion::xyz_to_rgb () const DCP_ASSERT (r == 0); /* create identity matrix of inverse */ - boost::numeric::ublas::matrix<double> xyz_to_rgb; + boost::numeric::ublas::matrix<double> xyz_to_rgb (3, 3); xyz_to_rgb.assign (boost::numeric::ublas::identity_matrix<double> (A.size1 ())); /* backsubstitute to get the inverse */ |
