# Fluid.mlpregressor~ not returning prediction inside collapsed M4L device

**URL:** https://discourse.flucoma.org/t/fluid-mlpregressor-not-returning-prediction-inside-collapsed-m4l-device/2259
**Category:** Bug Reports and Issues
**Created:** [April 8, 2024, 4:04pm UTC](https://discourse.flucoma.org/t/fluid-mlpregressor-not-returning-prediction-inside-collapsed-m4l-device/2259 "2024-04-08T16:04:05Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![tremblap](https://discourse.flucoma.org/user_avatar/discourse.flucoma.org/tremblap/32/5_2.png) [@tremblap](https://discourse.flucoma.org/u/tremblap)
#### Post date: [April 12, 2024, 11:06am UTC](https://discourse.flucoma.org/t/fluid-mlpregressor-not-returning-prediction-inside-collapsed-m4l-device/2259/9 "2024-04-12T11:06:40Z")

</div>

wow, you caught something big - for those who like C++ jokes about notes to self:

> <https://github.com/flucoma/flucoma-core/blob/ab9c6501e8de8f118d313260ae02ebc5ba5ee2d2/include/data/FluidJSON.hpp#L406-L412>

good news, it is an easy fix. we just need to _actually_ do the check 🙂

I’ll push a PR with a fix and it’ll be fixed in the next public release.

---

_[View the full topic](https://discourse.flucoma.org/t/fluid-mlpregressor-not-returning-prediction-inside-collapsed-m4l-device/2259)._
