# Compile error \`\`\`no match for ‘operator\`\`\`

**URL:** <https://openmc.discourse.group/t/compile-error-no-match-for-operator/2065>\
**Category:** User Support\
**Created:** [May 23, 2022, 11:55am UTC](https://openmc.discourse.group/t/compile-error-no-match-for-operator/2065 "2022-05-23T11:55:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shimwell](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/shimwell/32/3876_2.png) [@Shimwell](https://openmc.discourse.group/u/Shimwell)\
**Post date:** [May 23, 2022, 11:55am UTC](https://openmc.discourse.group/t/compile-error-no-match-for-operator/2065/1 "2022-05-23T11:55:03Z")

</div>

Hi all

I’m just trying to compile the a [fork of openmc](https://github.com/paulromano/openmc/tree/flf-improve-track) and am getting a new compile error that I’ve not seen before so I thought it is worth asking about.

Has anyone come across this `error: no match for ‘operator+’` before?

 ![Screenshot from 2022-05-23 12-52-50](https://global.discourse-cdn.com/free1/uploads/openmc/original/2X/7/71f4ae1b04cc7be480ca21ad97d6296228bac5bd.png)

---

<div class="post-metadata">

**Author:** ![paulromano](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/paulromano/32/486_2.png) [@paulromano](https://openmc.discourse.group/u/paulromano)\
**Post date:** [May 23, 2022, 3:07pm UTC](https://openmc.discourse.group/t/compile-error-no-match-for-operator/2065/2 "2022-05-23T15:07:10Z")

</div>

That’s weird – I’m not seeing why this line would produce such an error. Do you see this on the `develop` branch too? (I haven’t changed anything in math\_functions.cpp on the branch you’re compiling)

---

<div class="post-metadata">

**Author:** ![paulromano](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/paulromano/32/486_2.png) [@paulromano](https://openmc.discourse.group/u/paulromano)\
**Post date:** [May 23, 2022, 5:37pm UTC](https://openmc.discourse.group/t/compile-error-no-match-for-operator/2065/3 "2022-05-23T17:37:15Z")

</div>

Quick update – we were able to trace this issue and I’ve submitted a [bug fix](https://github.com/openmc-dev/openmc/pull/2072).
