boost::math::round error

This subforum contains all the issues which we already resolved.
User avatar
Dysoch
Filter Inserter
Filter Inserter
Posts: 445
Joined: Fri Oct 18, 2013 2:27 pm
Contact:

boost::math::round error

Post by Dysoch »

when you install my latest Core version and hover you mousse over the glass smelting recipe in the DyTech Intermediates tab, you get an this error:
Image

i know where the issue lies:
sand you can get from Gems, water and a few other things, so its an infinite loop and cause the game to error.

here is the download

edit:
changing this:

Code: Select all

    ingredients =
    {
	  {type="item", name="ruby-orex", amount=1}
    },
    results = 
	{
      {type="item", name="stone", amount_min=1, amount_max=6, probability=1},
      {type="item", name="sand", amount_min=1, amount_max=50, probability=0.2},
	},
to this

Code: Select all

    ingredients =
    {
	  {type="item", name="ruby-orex", amount=1}
    },
    results = 
	{
      {type="item", name="stone", amount_min=1, amount_max=6, probability=1},
      --{type="item", name="sand", amount_min=1, amount_max=50, probability=0.2},
	},
(removing the sand from the recipe) will fix this issue. But it is not prefered
Creator of:
- DyTech
- DyWorld
- DyWorld-Dynamics
- DyWorld-Dynamics 2
Active since Factorio 0.6
kovarex
Factorio Staff
Factorio Staff
Posts: 8298
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: boost::math::round error

Post by kovarex »

The problem is that the recipe product has minimum amount 0.

Fixed for 0.11.11
Post Reply

Return to “Resolved Problems and Bugs”