File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -454,12 +454,12 @@ function(add_ePhoto_tests)
454454 set (TEST_NAME ${ARGS_PREFIX} ePhoto_${DRIVER_NAME} )
455455 set (SHOW_NAME ${TEST_NAME} _SHOW)
456456 set (CHECK_NAME ${TEST_NAME} _CHECK)
457- if ((DRIVER_NAME STREQUAL "EPS" ) AND
458- (SUNDIALS_VERSION VERSION_LESS "6.7.0" ))
459- set (EXPECTED_OUTPUT ${TEST_DATA_DIR} /ePhotoOutput_${DRIVER_NAME} _SUNDIALS_LT_6p7.txt)
460- else ()
461- set (EXPECTED_OUTPUT ${TEST_DATA_DIR} /ePhotoOutput_${DRIVER_NAME} .txt)
462- endif ()
457+ # if ((DRIVER_NAME STREQUAL "EPS") AND
458+ # (SUNDIALS_VERSION VERSION_LESS "6.7.0"))
459+ # set(EXPECTED_OUTPUT ${TEST_DATA_DIR}/ePhotoOutput_${DRIVER_NAME}_SUNDIALS_LT_6p7.txt)
460+ # else()
461+ set (EXPECTED_OUTPUT ${TEST_DATA_DIR} /ePhotoOutput_${DRIVER_NAME} .txt)
462+ # endif()
463463 set (ACTUAL_OUTPUT ${ePhoto_TEST_DIR} /output_${DRIVER_NAME} .data)
464464 list (APPEND ePhoto_TESTS ${TEST_NAME} )
465465 list (APPEND ePhoto_TESTS_CHECK ${CHECK_NAME} )
Original file line number Diff line number Diff line change @@ -358,7 +358,11 @@ std::ostream& Variables::dump(std::ostream& out,
358358 const std::map<std::string, std::string>& key_aliases,
359359 const std::map<MODULE, const ValueSet_t*>& conditions,
360360 const std::vector<std::string>& subset) const {
361+ #ifdef MAKE_EQUIVALENT_TO_MATLAB
362+ std::size_t pad = 35 ;
363+ #else // MAKE_EQUIVALENT_TO_MATLAB
361364 std::size_t pad = max_field_width_all ();
365+ #endif // MAKE_EQUIVALENT_TO_MATLAB
362366 if (!subset.empty ()) {
363367 for (typename std::vector<std::string>::const_iterator it = subset.begin ();
364368 it != subset.end (); it++) {
You can’t perform that action at this time.
0 commit comments