Skip to content

Commit 92b6fc9

Browse files
committed
Revert, leave makefile change
1 parent 1926dbd commit 92b6fc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmdstan/command.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ int command(int argc, const char *argv[]) {
831831
//////////////////////////////////////////////////
832832

833833
stan::math::profile_map &profile_data = get_stan_profile_data();
834-
if (profile_data.begin() != profile_data.end()) {
834+
if (profile_data.size() > 0) {
835835
std::string profile_file_name
836836
= get_arg_val<string_argument>(parser, "output", "profile_file");
837837
std::fstream profile_stream(profile_file_name.c_str(), std::fstream::out);

0 commit comments

Comments
 (0)