Skip to content

Commit

Permalink
Fix RTC agent function conditions.
Browse files Browse the repository at this point in the history
Same fix earlier applied to agent functions.
  • Loading branch information
Robadob committed Nov 22, 2023
1 parent 5ea1ce2 commit 9fee20a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flamegpu/model/AgentFunctionDescription.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ void AgentFunctionDescription::setRTCFunctionCondition(std::string func_cond_src
}

// append jitify program string and include
std::string func_cond_src_str = std::string(func_cond_name + "_program\n");
std::string func_cond_src_str;
#ifdef FLAMEGPU_OUTPUT_RTC_DYNAMIC_FILES
func_cond_src_str.append("#line 1 \"").append(function->rtc_func_name).append("_impl_condition.cu\"\n");
#endif
Expand Down

0 comments on commit 9fee20a

Please sign in to comment.