File tree Expand file tree Collapse file tree 4 files changed +7
-2
lines changed
Expand file tree Collapse file tree 4 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 5858#include < vector>
5959#include < algorithm>
6060#include < filesystem>
61+ #include < limits>
6162
6263#ifndef WIN32
6364# include < sys/stat.h>
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ add_executable( rawtoaces
55 main.cpp
66)
77
8+ set_property (TARGET rawtoaces PROPERTY CXX_STANDARD 17)
9+
810target_include_directories ( rawtoaces
911 PUBLIC
1012 ${AcesContainer_INCLUDE_DIRS}
Original file line number Diff line number Diff line change @@ -233,12 +233,12 @@ vector<double> Illum::cctToxy( const double &cctd ) const
233233 if ( cctd >= 4002.15 && cctd <= 7003.77 )
234234 xy[0 ] =
235235 ( 0.244063 + 99.11 / cctd +
236- 2.9678 * 1000000 / (std::pow ( cctd, 2 ))-4.6070 * 1000000000 /
236+ 2.9678 * 1000000 / (std::pow ( cctd, 2 ) )-4.6070 * 1000000000 /
237237 ( std::pow ( cctd, 3 ) ) );
238238 else
239239 xy[0 ] =
240240 ( 0.237040 + 247.48 / cctd +
241- 1.9018 * 1000000 / (std::pow ( cctd, 2 ))-2.0064 * 1000000000 /
241+ 1.9018 * 1000000 / (std::pow ( cctd, 2 ) )-2.0064 * 1000000000 /
242242 ( std::pow ( cctd, 3 ) ) );
243243
244244 xy[1 ] = -3.0 * ( std::pow ( xy[0 ], 2 ) ) + 2.87 * xy[0 ] - 0.275 ;
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ add_library ( ${RAWTOACESLIB} ${DO_SHARED}
55 acesrender.cpp
66)
77
8+ set_property (TARGET ${RAWTOACESLIB} PROPERTY CXX_STANDARD 17)
9+
810if ( AcesContainer_FOUND )
911 target_include_directories ( ${RAWTOACESLIB} PRIVATE ${AcesContainer_INCLUDE_DIRS} )
1012 target_link_directories ( ${RAWTOACESLIB} PUBLIC ${AcesContainer_LIBRARY_DIRS} )
You can’t perform that action at this time.
0 commit comments