Skip to content

Commit b82fa32

Browse files
committed
Follow-up fix for error report initialization.
1 parent 8a00108 commit b82fa32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Common/include/basic_types/ad_structure.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ FORCEINLINE void ResumePreaccumulation(bool wasActive) {
721721

722722
struct ErrorReport {
723723
unsigned long ErrorCounter = 0;
724-
std::ofstream* out = nullptr;
724+
std::ostream* out = &std::cout;
725725
};
726726

727727
FORCEINLINE void ResetErrorCounter(ErrorReport& report) { report.ErrorCounter = 0; }

0 commit comments

Comments
 (0)