# Programmable Filter: ALGS is not working properly on Paraview 5.5.0

**URL:** https://discourse.paraview.org/t/programmable-filter-algs-is-not-working-properly-on-paraview-5-5-0/143
**Category:** ParaView Support
**Tags:** python
**Created:** [June 11, 2018, 7:25am UTC](https://discourse.paraview.org/t/programmable-filter-algs-is-not-working-properly-on-paraview-5-5-0/143 "2018-06-11T07:25:30Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![MiguelAngelAGUIRRE](https://discourse.paraview.org/user_avatar/discourse.paraview.org/miguelangelaguirre/32/2986_2.png) [@MiguelAngelAGUIRRE](https://discourse.paraview.org/u/MiguelAngelAGUIRRE)
#### Post date: [June 11, 2018, 7:25am UTC](https://discourse.paraview.org/t/programmable-filter-algs-is-not-working-properly-on-paraview-5-5-0/143/1 "2018-06-11T07:25:32Z")

</div>

Hi all

I have a very simple programmable filter that works fine in Paraview 5.4.0. However, when i try the same thing in Paraview 5.5.0 it does not work.

It seems that PV 5.5.0 have a problem with the Algoritms package (it does not recognize the “sqrt” function)

How can I modify the code to make it work in PV 5.5.0 ?

I have attached a simple Fluent case and the state file for PV5.4.0 and 5.5.0 to show you the problem.

Thanks in advance !

Miguel[PV\_ERROR\_TEST.dat](https://discourse.paraview.org/uploads/default/original/1X/a8efd9b7a440e42062b4b8c59f20fe8ea4b8210d.dat) (491.3 KB)  
[STATE\_error\_PV5\_5\_0.pvsm](https://discourse.paraview.org/uploads/default/original/1X/4fd81bbcaf41bc2d99ee649e246bf9a1e4fcc368.pvsm) (469.5 KB)  
[PV\_ERROR\_TEST.cas](https://discourse.paraview.org/uploads/default/original/1X/aa818fc98fcb688ea2daeedf1da15fff522f667f.cas) (298.6 KB)  
[STATE\_reference\_PV5\_4\_0.pvsm](https://discourse.paraview.org/uploads/default/original/1X/268f9610872591698276173deaa764996d817bb2.pvsm) (525.7 KB)

---

<div class="post-metadata">

### Author: ![jfavre](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/b5ac83/32.png) [@jfavre](https://discourse.paraview.org/u/jfavre)
#### Post date: [June 11, 2018, 11:56am UTC](https://discourse.paraview.org/t/programmable-filter-algs-is-not-working-properly-on-paraview-5-5-0/143/2 "2018-06-11T11:56:06Z")

</div>

your input data is now read as a multi-block dataset, with a single block. Thus, CellDatatoPointData is also a multi-block.

The fastest trick to apply is to insert a MergeBlocks between CellDatatoPointData and ProgrammableFilter, and your code will work as-is

---

<div class="post-metadata">

### Author: ![MiguelAngelAGUIRRE](https://discourse.paraview.org/user_avatar/discourse.paraview.org/miguelangelaguirre/32/2986_2.png) [@MiguelAngelAGUIRRE](https://discourse.paraview.org/u/MiguelAngelAGUIRRE)
#### Post date: [June 11, 2018, 2:34pm UTC](https://discourse.paraview.org/t/programmable-filter-algs-is-not-working-properly-on-paraview-5-5-0/143/3 "2018-06-11T14:34:21Z")

</div>

Excellent ! That works perfectly fine. Thanks alot for your quick and accurate answer !

Best regards

Miguel
