Alec Bills

Results 25 comments of Alec Bills

making changes, didn't want to keep testing while I do it. Will reopen at some point

You can force it to use rosetta if you're using conda by setting the environment variable `CONDA_SUBDIR` to `osx-x64`. https://towardsdatascience.com/how-to-manage-conda-environments-on-an-apple-silicon-m1-mac-1e29cb3bad12 Actually I think this maybe only works with miniconda Actually...

Thanks for the response, makes sense, this fixes it! Sorry if it's a newbie issue, but I do think the docs should be updated. It's located [here](https://dash-julia.plotly.com/getting-started)

> Yeah I just wanted the ticket as more of a reminder to myself to go back and check for them from @kratman reminder to check for `if known_value ==...

Out of curiosity has anyone checked if there's a performance difference between Conda/build-from-source and the rosetta options?

It doesn't, I guess we'll have to get a bit creative.

yeah, heavisides was my first thought, but a couple of problems exist with that, one being what you said (my guess is we will get overflow errors with even pretty...

Quick and dirty heaviside version: ``` import pybamm import math def zoh(ts, vals, t): if len(ts) > 2: vec_size = len(ts) mid = math.floor(vec_size / 2) middle_t = pybamm.Scalar(ts[mid]) switch...

Should we just switch to "Electrode area [m2]" instead?