diff --git a/include/igl/writeOFF.cpp b/include/igl/writeOFF.cpp index ad16fc275c..148859dfb8 100644 --- a/include/igl/writeOFF.cpp +++ b/include/igl/writeOFF.cpp @@ -61,13 +61,13 @@ IGL_INLINE bool igl::writeOFF( //Check if RGB values are in the range [0..1] or [0..255] int rgbScale = (C.maxCoeff() <= 1.0)?255:1; - Eigen::MatrixXd RGB = rgbScale * C; + Eigen::MatrixXd RGB_Array = rgbScale * C; s<< "COFF\n"<